Convert from various textual representation to raw bytes
Standard ML Makefile
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
mylib @ 0aa9e1e
src
.gitignore
.gitmodules
Makefile
README.md

README.md

bytes

Converts various textual representations into raw binary data.

Examples:

$ echo "[0x66, 111, 0x6f, 10]" | bytes
foo
$ echo 666f6f0a | bytes
foo
$ echo 01100110011011110110111100001010 | bytes
foo
$ echo 01010000111101101111011001100110 | bin/bytes -p -rb -il -g 4
foo