pub fn rev_bytes(data: &[u8], out: &mut impl Write) -> Result<()>Expand description
Reverse each line in the input data and write to output. Lines are delimited by newline (b’\n’). ASCII lines are reversed byte-by-byte (fast path). Non-ASCII lines are reversed by Unicode characters.