package
0.0.0-20201102054017-282493799a89
Repository: https://github.com/golangltd/leafltd.git
Documentation: pkg.go.dev
# Functions
UTF32 returns a UTF-32 Encoding for the given default endianness and byte order mark (BOM) policy.
# Constants
BigEndian is UTF-32BE.
ExpectBOM means that the UTF-32 form must start with a byte order mark, which will be used to override the default encoding.
IgnoreBOM means to ignore any byte order marks.
LittleEndian is UTF-32LE.
UseBOM means that the UTF-32 form may start with a byte order mark, which will be used to override the default encoding.
# Variables
All lists a configuration for each IANA-defined UTF-32 variant.
ErrMissingBOM means that decoding UTF-32 input with ExpectBOM did not find a starting byte order mark.
# Type aliases
BOMPolicy is a UTF-32 encodings's byte order mark policy.
Endianness is a UTF-32 encoding's default endianness.