decode_dctf_buf

Function decode_dctf_buf 

Source
pub fn decode_dctf_buf(bytes: &[u8]) -> Option<(u128, usize)>
Expand description

Decodes one DcTF (.dctf, f641) character from the provided byte slice.

Returns Some((value, length_consumed)) if bytes begins with a valid, canonical DcTF sequence, or None if malformed, non-canonical, or truncated.