Skip to main content

split_lines

Function split_lines 

Source
pub fn split_lines(bytes: &[u8], out: &mut Vec<Vec<u8>>)
Expand description

Splits bytes into newline-delimited lines. Complete lines go through drain_lines; any trailing bytes without a terminating \n are also emitted as a final element.