Crate utf8_rfc2279

Source

Structs§

OverflowError

Functions§

encode_u32
Encodes the input as a UTF-8 byte sequence of length ranging from 1 to 6.
get_header
Helper function that returns the ‘header’ byte of the input’s corresponding byte sequence, along with the corresponding length (total number of bytes in the sequence).

Type Aliases§

Codepoint
The type representing a byte encoding. Since byte sequences are at most 6 bytes long, it lives on the stack and requires no allocations.