# Functions
DecodeRune unpacks the first CESU-8 encoding in p and returns the rune and its width in bytes.
DefaultDecoder returns the default CESU-8 to UTF-8 decoder.
DefaultEncoder returns the default UTF-8 to CESU-8 encoder.
EncodeRune writes into p (which must be large enough) the CESU-8 encoding of the rune.
FullRune reports whether the bytes in p begin with a full CESU-8 encoding of a rune.
NewDecoder creates a new decoder instance.
NewEncoder creates a new encoder instance.
ReplaceErrorHandler is a decoding error handling function replacing invalid CESU-8 data with the unicode replacement character '\uFFFD'.
RuneLen returns the number of bytes required to encode the rune.
Size returns the amount of bytes needed to encode an UTF-8 byte slice to CESU-8.
StringSize is like Size with a string as parameter.
# Structs
DecodeError is raised when a transformer detects invalid encoded data.
Decoder supports decoding of CESU-8 encoded data into UTF-8.
Encoder supports encoding of UTF-8 encoded data into CESU-8.