#chunked #http #encode-decode #command-line-tool #transfer-encoding #rfc-7230

app chunked_transfer_cli

Command-line tool to encode into or decode from HTTP chunked transfer coding (RFC 7230)

2 releases

0.1.1 Aug 8, 2023
0.1.0 Aug 9, 2022

#6 in #chunked

ISC license

6KB

chunked-transfer-cli

Command-line tool to encode into or decode from HTTP chunked transfer coding (RFC 7230, section 4.1).

crates.io version ISC-licensed support me via GitHub Sponsors chat with me on Twitter

I'm a Rust beginner, so the code might be unelegant. 🙈

Installing

cargo install chunked_transfer_cli

You can also download a binary from the releases page.

Usage

chunked_transfer_cli 0.1.0
Command-line tool to encode into or decode from HTTP chunked transfer coding (RFC 7230).

USAGE:
    chunked_transfer_cli [SUBCOMMAND]

OPTIONS:
    -h, --help       Print help information
    -V, --version    Print version information

SUBCOMMANDS:
    decode    decodes chunked data
    encode    encodes data as chunked
    help      Print this message or the help of the given subcommand(s)
decodes chunked data

USAGE:
    chunked_transfer_cli decode

OPTIONS:
    -h, --help    Print help information
encodes data as chunked

USAGE:
    chunked_transfer_cli encode [OPTIONS]

OPTIONS:
        --chunk-size <CHUNK_SIZE>    number of bytes per chunk [default: 1024]
    -h, --help                       Print help information

Dependencies

~4MB
~80K SLoC