Expand description
Encoding and decoding between the private area encoding and bytes
Structs§
- BadCodepoint
- An invalid codepoint was encountered during decoding
Enums§
- Output
Byte - Type representing the output of a single char decode operation. This type is an iterator over 1 or 2 bytes. The None variant is used to signal that the iterator is empty.
Functions§
- decode_
char - Decode a single char from the wynntils private use area encoding scheme. This function returns 1 or 2 bytes or an error if the codepoint is not valid within the encoding scheme.
- decode_
chars - Decodes the bytes of a wynntils private area encoded string from an iterator of chars
- decode_
string - Decodes the bytes of a wynntils private area encoded string
- encode_
char - Encode a single char using the wynntils private use area encoding scheme
- encode_
string - Encode bytes into a string using the wynntils byte encoding scheme