| Crates.io | bytary |
| lib.rs | bytary |
| version | 0.1.0 |
| created_at | 2025-05-12 15:23:00.205932+00 |
| updated_at | 2025-05-12 15:23:00.205932+00 |
| description | A simple CLI tool for binary data manipulation |
| homepage | |
| repository | https://github.com/Leawind/bytary |
| max_upload_size | |
| id | 1670742 |
| size | 37,713 |
A simple CLI tool for binary data manipulation.
List all supported formats:
$> bytary -l
Available formats: bytes, bin, hex, oct
Convert bytes to hexadecimal:
$> echo ABC | bytary hex
4142430a
Convert bytes to hexadecimal with space and line wrap:
$> echo Hello, World! | bytary hex -s 2 -w 14
48 65 6c 6c 6f 2c 20
57 6f 72 6c 64 21 0a
Convert hexadecimal to bytes:
$> echo 48 65 6c 6c 6f 2c 20 57 6f 72 6c 64 21 0a | bytary bytes hex
Hello, World!
A simple CLI tool for binary data manipulation
Usage: bytary [OPTIONS] [TO] [FROM]
Arguments:
[TO] Output format [default: bytes]
[FROM] Input format [default: bytes]
Options:
-l, --list-formats List all supported formats and exit
-s, --space <SPACE_INTERVAL> Space interval between bytes [default: 0]
-w, --wrap <WRAP_INTERVAL> Line wrap interval [default: 0]
-v, --verbose Use verbose output
-h, --help Print help (see more with '--help')
-V, --version Print version