base32

    base32 command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.1.8
    License
    Apache-2.0
    Last updated
    8 hours ago
    Downloads
    155

    #base32

    Encode and decode Base32 data through MoonX.

    #Usage

    moonx cli/base32 input.txt moonx cli/base32 --decode encoded.txt > decoded.txt printf 'hello' | moonx cli/base32

    With no file, or with - as the filename, read stdin. Encoding wraps at 76 characters by default; -w 0 disables wrapping and the trailing newline.

    #Common options

    OptionDescription
    -d, --decodeDecode input.
    -i, --ignore-garbageIgnore non-alphabet bytes when decoding.
    -w VALUE, --wrap VALUESet output width; 0 disables wrapping and the final newline. Default: 76.
    --helpShow help.
    --versionShow the version.

    #Notes

    • Decoding rejects lowercase characters unless -i discards them. Invalid input may produce partial output before an error.
    • Encoding streams input; decoding reads the whole input into memory.

    See the compatibility guide for the supported profile.

    Source Files