Module pack32

Source

Functionsยง

is_pack32_char
Test whether the given byte slice is a valid single WTF-8 codepoint sequence.
pack32
Pack a (signed) 32-bit value (interpreted as Unicode/WTF-8 codepoint domain) into a WTF-8 byte sequence representing a single logical codepoint.
unpack32
Unpack a single WTF-8 sequence into its codepoint (as u32).