10 releases

0.3.2 Feb 20, 2025
0.3.1 Dec 4, 2024
0.3.0 Oct 24, 2024
0.2.4 Aug 22, 2024
0.1.1 Jul 29, 2023

#1791 in Text processing

Download history 12/week @ 2024-11-20 7/week @ 2024-11-27 158/week @ 2024-12-04 23/week @ 2024-12-11 6/week @ 2024-12-18 8/week @ 2025-01-08 4/week @ 2025-01-15 37/week @ 2025-02-12 149/week @ 2025-02-19 44/week @ 2025-02-26 9/week @ 2025-03-05

239 downloads per month
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