bin+lib flipfile

Flip the bytes in multiple files

9 releases (breaking)

0.7.2 Sep 13, 2021
0.7.1 Sep 12, 2021
0.6.0 Sep 12, 2021
0.5.0 Sep 12, 2021
0.1.0 Sep 11, 2021

MIT license

11KB
205 lines

flipfile

Flip the bytes in multiple files.

flipfile takes a number of files and transforms each byte.

The possible transformations are:

  • -f, --flip: flip the bytes, i.e. negates each bit,
  • -r, --reverse: reverse the bytes,
  • -s, --swab: swab the bytes, i.e. swap the first 4 and the last 4 bits.

lib.rs:

Flip the bytes in multiple files.

This crate ships with a default binary flipfile that lets you flip multiple files.

Dependencies

~6–15MB
~179K SLoC