Make arbitrary byte streams human readable!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Joey Hines 2697b4b848
Added README.md LICENSE.md
3 weeks ago
formats Cleared up issue with parsing ints 3 weeks ago
src Added README.md LICENSE.md 3 weeks ago
.gitignore Initial Commit 2 months ago
Cargo.lock Int formatting working 3 weeks ago
Cargo.toml Int formatting working 3 weeks ago
LICENSE Added README.md LICENSE.md 3 weeks ago
README.md Added README.md LICENSE.md 3 weeks ago

README.md

Formaty

A simple configurable binary data parser. Data structures are described using TOML files.

Example

Checkout the formats described in formats

./formaty formats/ccsds.toml ccsds "[0xe0, 0xa1, 0xc0, 0x00, 0x05, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05]"

Output:

Version Number: 0
Packet Type: 0
Secondary Header Flag: 0
APID: 1295
Sequency Flags: 0
Packet Sequence Count: 48
Data Length: 5
Data: [1, 2, 3, 4, 5]

Help

Formaty 0.1.0
Arbitrary Binary Data Formatting

USAGE:
    formaty <config> <format> [data]...

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

ARGS:
    <config>     Path to the format config
    <format>     Format to parse data as
    <data>...    Raw data

License

License