pub fn complete_rows_len(bytes: &[u8]) -> usize
json
Returns the length of the longest prefix of bytes that only holds complete rows, i.e. up to and including the last line break.
bytes