xxd

    xxd command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.2.8
    License
    Apache-2.0
    Last updated
    3 days ago
    Downloads
    234

    #xxd

    Create and reverse hexadecimal dumps through MoonX.

    #Usage

    moonx cli/xxd input.bin moonx cli/xxd -p input.bin > hex.txt moonx cli/xxd -r -p hex.txt > restored.bin

    Read files or stdin and write a formatted dump. Reverse mode accepts supported dumps and can reconstruct output offsets.

    #Common options

    OptionDescription
    -p, --plainplain hexadecimal display
    -r, --reversereverse a dump
    -g VALUE, --group VALUEbytes per group
    -c VALUE, --cols VALUEbytes per line
    -l VALUE, --len VALUEmaximum input bytes
    -s VALUE, --seek VALUEinput seek or reverse address adjustment
    -h, --helpShow help.
    --versionShow the version.

    Use --help for the complete option list.

    #Notes

    • Backward seeks on stdin are unsupported. Existing output-file identity and mode guarantees are limited; use a new output path when possible.

    Build from source with the MoonBit 1.0 RC1 toolchain.

    See the compatibility guide for the supported profile.

    Source Files