10 releases

new 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

#1828 in Text processing

Download history 27/week @ 2024-10-29 27/week @ 2024-11-05 2/week @ 2024-11-12 10/week @ 2024-11-19 11/week @ 2024-11-26 149/week @ 2024-12-03 29/week @ 2024-12-10 9/week @ 2024-12-17 7/week @ 2025-01-07 4/week @ 2025-01-14 1/week @ 2025-01-21 151/week @ 2025-02-11

153 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