Function fixed_buffer::deframe_crlf
source · [−]Expand description
Deframes lines that are terminated by b"\r\n".
Ignores solitary b'\n'.
See read_frame.
Errors
Returns an error when data does not contain b"\r\n".
Deframes lines that are terminated by b"\r\n".
Ignores solitary b'\n'.
See read_frame.
Returns an error when data does not contain b"\r\n".