#byte #hex #binary #converter #ieee-754 #binary-data #unsigned-integer

app wambo

All-in-one binary to convert decimal/bin/oct/hex + interpret data as i8-i64, u8-u64, and f32/f64

20 releases

0.3.1 Oct 9, 2022
0.3.0 Oct 9, 2022
0.2.12 Oct 3, 2022
0.2.11 Mar 1, 2021
0.1.5 Dec 7, 2020

#2299 in Command line utilities

23 downloads per month

MIT license

74KB
1K SLoC

wambo - All-in-one binary to convert decimal/bin/oct/hex + interpret data as i8-i64, u8-u64, and f32/f64.

wambo is a binary that can easily shows you a numeric value in all important numeral systems (bin, hex, dec) + interprets the input as both signed and unsigned values (from i8 to i64, including f32 and f64). It also easily calculates you mibibytes to bytes, kilobytes to gibibytes, and so on.

Wambo can be found on the web too: wambo-web.de
The web version has more functionality and interactivity.

Usage

Install: $ cargo install wambo

Examples
  • $ wambo 1mb
  • $ wambo 0xdeadbeef
  • $ wambo 0b10001111_00000000
  • $ wambo 0xf_gb (unorthodox, but possible: 15 gigabyte)
  • $ wambo -h (for more help and examples)

Just input an integer number (maximum 64bit, no decimal/fraction) and wambo calculates all values that are interesting to developers.

Example:
5 is represented by 0x40a00000 in floating point standard (IEEE-754). So, $ wambo 0x40a00000 results in the output in the screenshot below.

Example Output (screenshot)

Example output in terminal

MSRV

The MSRV is 1.56.1.

Dependencies

~6–15MB
~180K SLoC