- decode
codepoint decode(dchar c)
Decodes a single UTF-32 character
- decode
UnicodeSequence decode(inout(dchar)[] str, bool stripBOM)
Decodes a single UTF-32 string
- decode
UnicodeSequence decode(ndstring str, bool stripBOM)
Decodes a single UTF-32 string
- encode
ndstring encode(UnicodeSlice slice, bool addBOM)
- encode
ndstring encode(UnicodeSequence seq, bool addBOM)
- getBOM
codepoint getBOM(inout(dchar)[] str)
- toMachineOrder
ndstring toMachineOrder(inout(dchar)[] str, Endianess fallbackEndian)
Returns a string which is str converted to machine order.
- validate
bool validate(dchar c)
Validates a UTF32 codepoint
- validate
bool validate(ndstring str)
- validate
bool validate(inout(dchar)[] str)
UTF-32 Utilities