| Crates.io | bbd-lib |
| lib.rs | bbd-lib |
| version | 0.4.0 |
| created_at | 2023-07-29 14:49:01.168038+00 |
| updated_at | 2025-08-28 11:52:37.004564+00 |
| description | Binary Braille Dump |
| homepage | |
| repository | https://github.com/qtfkwk/bbd |
| max_upload_size | |
| id | 929289 |
| size | 29,830 |
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");