parsebin

Crates.ioparsebin
lib.rsparsebin
version0.1.1
sourcesrc
created_at2024-08-06 18:30:04.681256
updated_at2024-08-06 18:32:04.537235
descriptionAn very simple tool to parse binary data and print primitive values to standard out.
homepage
repositoryhttps://github.com/DanielHauge/parsebin
max_upload_size
id1327621
size33,104
Daniel Hauge (DanielHauge)

documentation

README

parsebin

A very simple CLI tool to read and parse binary file and print values as primitive type to standard output.

The tool can be used in conjunction with other tools to process, filter and plot via commandline.

Usage

parsebin <file> <type>
parsebin -h
Usage: parsebin.exe [OPTIONS] <TYPE> <FILE>

Arguments:
  <TYPE>  [possible values: u8, u16, u32, u64, i8, i16, i32, i64, f32, f64]
  <FILE>

Options:
  -o, --offset <OFFSET>          [default: 0]
  -n, --number <NUMBER>          [default: 9223372036854775807]
  -b, --byte-order <BYTE_ORDER>  [default: little-endian] [possible values: little-endian, big-endian]
  -h, --help                     Print help

Installation

cargo install parsebin
Commit count: 0

cargo fmt