9 releases

0.3.1 Dec 4, 2024
0.3.0 Oct 24, 2024
0.2.4 Aug 22, 2024
0.2.1 Jul 23, 2024
0.1.1 Jul 29, 2023

#1798 in Text processing


Used in 4 crates (2 directly)

MIT license

30KB
152 lines

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");

Dependencies

~10KB