2 releases
0.1.1 | Oct 11, 2024 |
---|---|
0.1.0 | Oct 11, 2024 |
#431 in Command line utilities
344 downloads per month
6KB
116 lines
Bex
Bex is a simple command line tool for converting hex numbers to binary and vice versa
Download
- you will need cargo to download from any method
Crates.io
download the package from crate.io using the cargo
cargo install bex-rs
Build from source
- git clone/download the repo
- run
cargo build --release
- move the executable in "target/release" to your path
Use
Type the base of the input and the number:
bex [base] [number]
examples :
~> bex 0x F025
0b 1111 0000 0010 0101
~> bex 0b 1100 0110
0x C6