Skip to main content

rev

Function rev 

Source
pub fn rev(
    reader: impl BufRead,
    writer: &mut impl Write,
    zero: bool,
) -> Result<()>
Expand description

Reverse each line from reader and write to writer.

If zero is true, lines are delimited by ā€˜\0’ instead of ā€˜\n’.