bbd

Crates.iobbd
lib.rsbbd
version
sourcesrc
created_at2023-07-29 14:49:11.94731
updated_at2024-12-04 14:36:28.125428
descriptionBinary Braille Dump
homepage
repositoryhttps://github.com/qtfkwk/bbd
max_upload_size
id929290
Cargo.toml error:TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
(qtfkwk)

documentation

README

CLI utility for encoding and decoding data to/from binary representations using the Braille Patterns Unicode Block characters

See also the bbd-lib library crate.

Usage

$ bbd -h
Binary Braille Dump

Encode/decode data to/from Braille Patterns Unicode Block characters

Usage: bbd [OPTIONS] [PATH]...

Arguments:
  [PATH]...  Input file(s); [default: "-" (stdin)]

Options:
  -d              Decode Braille characters to bytes using the given style;
                  ignores wrapping
  -s <STYLE>      Style (1) [default: nlbb] [possible values: bcd, direct, nlbb,
                  nlbt, nrbb, nrbt]
  -c <N>          Wrap to N columns ("bytes") per line; 0: disable wrapping
                  [default: 64]
  -m              Markdown output
  -h, --help      Print help
  -V, --version   Print version

---

Notes:

1. Styles:
    * `bcd`: Binary Coded Decimal of byte values 0-99
    * `direct`: Direct encoding using the standard Braille dot values
    * `nlbb`: Most significant nibble (MSN) left column, most significant bit
      (MSB) bottom row. This is the default style.
    * `nlbt`: MSN left column, MSB top row
    * `nrbb`: MSN right column, MSB bottom row
    * `nrbt`: MSN right column, MSB top row
$ bbd -V
bbd 0.3.1

Examples

$ echo Hello |bbd
⢄⠮⢦⢦⢾⢐
$ echo "⢄⠮⢦⢦⢾⢐" |bbd -d
Hello
Commit count: 10

cargo fmt