[−][src]Function fixed_buffer::deframe_line
pub fn deframe_line(
data: &[u8]
) -> Result<Option<(Range<usize>, usize)>, MalformedInputError>
Deframes lines that are terminated by either b'\n'
or b"\r\n"
.
See read_frame
.
pub fn deframe_line(
data: &[u8]
) -> Result<Option<(Range<usize>, usize)>, MalformedInputError>
Deframes lines that are terminated by either b'\n'
or b"\r\n"
.
See read_frame
.