pub fn determine_dctf_error_len(slice: &[u8]) -> Option<usize>Expand description
Computes the maximal-subpart error length for an invalid or incomplete
DcTF (.dctf, f641) byte slice.
Returns Some(n) (n >= 1) when slice[..n] is the longest initial subsequence
that can prefix a canonical DcTF sequence (or Some(1) if slice[0] cannot
start any canonical sequence), or None when the entire slice is a valid
incomplete prefix of a canonical DcTF sequence (truncated at the end of slice).