fasthex
High-performance hex dumper
TLDR
SYNOPSIS
fasthex [options] [file...]
DESCRIPTION
fasthex is a Rust hex dumper optimized for speed on large files. It memory-maps input and formats output in parallel using SIMD (AVX2, SSE4.1, or scalar fallback), with double-buffered I/O and zero-copy kernel pipe transfers when possible.Multiple files are concatenated as one stream. With no file argument, fasthex reads from stdin. Output follows the classic offset / hex bytes / ASCII layout familiar from xxd and hexdump, with additional format modes (octal, decimal, plain hex string, C include style) and configurable endianness, borders, and color schemes.
PARAMETERS
-s, --skip N
Skip first N bytes (negative counts from end). Supports KiB, MiB, GiB suffixes.-n, --length N
Read only N bytes.-W, --width N
Bytes per row. Default: 16.-g, --group N
Bytes per group: 1, 2, 4, or 8.-x, --hex
One-byte hexadecimal display.-b, --binary
Binary display (8 bits per byte).-A, --no-ascii
Hide the ASCII panel.-L, --color WHEN
Color mode: auto, always, or never.-w, --squeeze
Replace identical consecutive rows with \*.-r, --reverse
Convert a hex dump back to binary.-h, --help
Show help.-v, --version
Show version.
CAVEATS
Install via cargo install --git; there are no published crate releases yet. Color output to a TTY may use a slower path than piping to a file or /dev/null.
