#hex #converter #binary #cli

app bex-rs

A simple hex-to-bin/bin-to-hex converter

2 releases

0.1.1 Oct 11, 2024
0.1.0 Oct 11, 2024

#987 in Command line utilities

MIT license

6KB
116 lines

Bex

Bex is a simple command line tool for converting hex numbers to binary and vice versa

Download

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

  1. git clone/download the repo
  2. run cargo build --release
  3. 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

No runtime deps