Skip to main content

Module rev

Module rev 

Source

Functions§

rev_bytes
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.