hexdump

    hexdump command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.1.3
    License
    Apache-2.0
    Last updated
    9 days ago
    Downloads
    78

    #hexdump

    Display binary data for MoonX.

    moonx cli/hexdump@0.1.3 [OPTION]... [FILE]...

    #Supported scope

    Concatenate files or stdin and display numeric/character formats. Supports custom formats, byte limits, skips and explicit color rules.

    #Options

    OptionDescription
    -b, --one-byte-octalone-byte octal
    -c, --one-byte-charescaped characters
    -C, --canonicalhexadecimal bytes with ASCII
    -d, --two-bytes-decimaltwo-byte unsigned decimal
    -o, --two-bytes-octaltwo-byte octal
    -x, --two-bytes-hextwo-byte hexadecimal
    -X, --one-byte-hexone-byte hexadecimal
    -e, --format=FORMATadd a custom format
    -f, --format-file=FILEadd formats from a file
    -L, --color[=WHEN]enable _L colors: always, auto, or never
    -n, --length=Ndisplay at most N input bytes
    -s, --skip=Nskip N input bytes
    -v, --no-squeezingdisplay duplicate blocks
    --help / --versionShow help / package version.

    #Limitations

    • Numeric words use little-endian byte order. Locale-aware character rendering is unsupported.
    • Automatic terminal color is unavailable; auto remains uncolored. Custom %% conversions are rejected.

    #Examples

    moonx cli/hexdump@0.1.3 -C data.bin moonx cli/hexdump@0.1.3 -s16 -n32 -v data.bin

    DumpState

    type DumpState