pub fn unpack32(bytes: &[u8]) -> Result<u32>Expand description
Unpack a single WTF-8 sequence into its codepoint (as u32).
Errors if the input is not a single valid WTF-8 codepoint sequence or if extra bytes remain after the first decoded codepoint.
(Original: unpack32)