Function fixed_buffer::deframe_crlf[][src]

pub fn deframe_crlf(
    data: &[u8]
) -> Result<Option<(Range<usize>, usize)>, MalformedInputError>
Expand description

Deframes lines that are terminated by b"\r\n". Ignores solitary b'\n'.

See read_frame.