3 unstable releases

0.2.0 Jul 30, 2023
0.1.1 Jul 29, 2023
0.1.0 Jul 29, 2023

#1267 in Encoding

Download history 3/week @ 2024-02-12 18/week @ 2024-02-19 23/week @ 2024-02-26 9/week @ 2024-03-04 15/week @ 2024-03-11 18/week @ 2024-03-18 36/week @ 2024-03-25 75/week @ 2024-04-01

147 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

~11KB