fn partial_suffix_len(buf: &[u8], marker: &[u8]) -> usize
Largest n in [0, marker.len()) such that the last n bytes of buf are a prefix of marker. Used as the lookahead window for chunk-safe marker detection.
n
[0, marker.len())
buf
marker