bbd-lib

Crates.iobbd-lib
lib.rsbbd-lib
version
sourcesrc
created_at2023-07-29 14:49:01.168038
updated_at2024-12-04 14:36:18.448696
descriptionBinary Braille Dump
homepage
repositoryhttps://github.com/qtfkwk/bbd
max_upload_size
id929289
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

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

See the documentation or the source for each function for doctest examples.

See also the bbd crate which provides a CLI utility.

use bbd_lib::*;

assert_eq!(encode(b"Hello\n", encode_nlbb, 0, 0), "⢄⠮⢦⢦⢾⢐");
assert_eq!(decode("⢄⠮⢦⢦⢾⢐", decode_nlbb), b"Hello\n");
Commit count: 10

cargo fmt