Giter Site home page Giter Site logo

bread's Introduction

bread

byte stream conversion library and CLI tool

About

bread is a cross-platform command-line tool useful for converting from and to a stream of:

  • raw bytes
  • ascii characters
  • binary, hexadecimal or other numeric base representation of bytes

For more info about supported formats see

bread-cli --help

Getting Started

Prerequisites

bread is cross-platofrm, coded in Rust; you need to have a valid Rust installation. Nightly version would be required for running benchmarks (feature "benchmark").

Get with cargo

cargo install -f bread-cli

Build from sources

  1. clone this repository
  2. build with cargo:
cargo build --release

Usage

Usage: bread [OPTIONS]

Options: -i, --input INPUT -o, --output OUTPUT

Possible values for INPUT and OUTPUT are:

  • raw: raw byte
  • bin: binary representation (g.e. '00001101')
  • hex: hexadecimal representation (g.e. 'a4')
  • ascii: ASCII characters (g.e. '!')
  • N: base N representation (note: make sure to provide required number of digits per each byte, pad with heading 0s)

[default: ascii]

-h, --help Print help information (use -h for a summary)

-V, --version Print version information

License

This project is licensed under the GNU General Public License v3.

See LICENSE for more information.

Acknowledgements

bread's People

Contributors

biagang avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.