- Can easily convert between Hex Decimal and Binary numbers
- Can get the Hex number of a binary mask
- git clone
- run
cargo run --path .
hdb --hb <HEX_NUMBER>
to convert Hexadecimal to Binaryhdb --hd <HEX_NUMBER>
to convert Hexadecimal to Decimalhdb --bh <BINARY_NUMBER>
to convert Binary to Hexadecimalhdb --bd <BINARY_NUMBER>
to convert Binary to Decimalhdb --dh <NUMBER>
to convert Decimal to Hexadecimalhdb --db <NUMBER>
to convert Decimal to Binaryhdb --mask <NUM_OF_ONES>,<NUM_OF_ZEROS>
to create a mask// Ex for mask $ hdb --mask 3,5 Binary Mask: 11100000 Decimal: 224 Hex: E0
- Currently no support for unsigned decimal integers
- For Hex, must provide an even amount of characters (0F11, not F11, pad right with a 0)
- Figure out how to dynamically pad binary with zeros
- Create format binary function to print binaries with spaces between every byte
- Create solution for unsigned integers
- Add padding 0 for hex numbers if insert odd number of characters
- Create Masking Function
- Create Hex conversion
- Create Decimal conversion
- Create Binary conversion