Function pack32

Source
pub fn pack32(value: u32) -> Result<Vec<u8>>
Expand description

Pack a (signed) 32-bit value (interpreted as Unicode/WTF-8 codepoint domain) into a WTF-8 byte sequence representing a single logical codepoint.

Currently a thin wrapper around WTF-8 single-codepoint encoding.

(Original: pack32)