dollnary

Crates.iodollnary
lib.rsdollnary
version0.1.3
created_at2025-10-09 22:36:28.296978+00
updated_at2025-10-10 00:04:00.430951+00
descriptiontiny implementation of https://stella.lifeless.space/code/dollnary/
homepage
repositoryhttps://codeberg.org/ember-ana/dollnary.rs
max_upload_size
id1876262
size4,511
ember ana (ember-ana)

documentation

README

dollnary

tiny dollnary implementation

example

use dollnary;

let encoded = dollnary::encode(0x464383c);
assert_eq!(encoded, String::from("││╽│╽╿╽││┃╿││┃┃│"));

// decoding can fail if the input isn't well-formatted, so it returns an Option
let decoded = dollnary::decode(&encoded);
assert_eq!(decoded, Some(0x464383c));
assert_eq!(dollnary::decode("invalid"), None);
Commit count: 0

cargo fmt