Converting CSV files to Binary files with ease.
You can download the exe
from the Releases. (if you're on Windows)
Or you can build and install manually using cargo install --path .
Call csv2bin from your command line :
$ csv2bin < in.csv > out.csv
..=
means an inclusive range :)
All values (expected to be numbers between 0..=255
) are converted to bytes u8
Newlines are represented as 0xFF
(255
)
Warning
Anything that isn't a number is converted to 0
.
© 2023 Max <mxcop>, All rights reserved — MIT.