Skip to main content

cut_bytes

Function cut_bytes 

Source
pub fn cut_bytes(
    line: &[u8],
    ranges: &[Range],
    complement: bool,
    output_delim: &[u8],
    out: &mut impl Write,
) -> Result<bool>
Expand description

Cut bytes/chars from a line. Writes selected bytes to out. Used by process_cut_reader (stdin path) and unit tests.