pub fn decode(bytes: Vec<u8>) -> Option<(u128, usize)>Expand description
Lossily decode the first character from bytes using the DcTF format.
Returns (value, used_len) (yielding U+FFFD and the maximal subpart length on
malformed sequences), or None if bytes is empty.