bbd-lib

Crates.iobbd-lib
lib.rsbbd-lib
version0.2.0
sourcesrc
created_at2023-07-29 14:49:01.168038
updated_at2023-07-30 12:49:58.006937
descriptionBinary Braille Dump
homepage
repositoryhttps://github.com/qtfkwk/bbd
max_upload_size
id929289
size29,411
qtfkwk (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: 4

cargo fmt