Crates.io | bbd-lib |
lib.rs | bbd-lib |
version | |
source | src |
created_at | 2023-07-29 14:49:01.168038 |
updated_at | 2024-12-04 14:36:18.448696 |
description | Binary Braille Dump |
homepage | |
repository | https://github.com/qtfkwk/bbd |
max_upload_size | |
id | 929289 |
Cargo.toml error: | TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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");