package
1.13.4
Repository: https://github.com/sap/go-hdb.git
Documentation: pkg.go.dev

# 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.

# Constants

Encoding constants.
CESUMax is the maximum amount of bytes used by an CESU-8 codepoint encoding.
Encoding constants.

# 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.