| Crates.io | dollnary |
| lib.rs | dollnary |
| version | 0.1.3 |
| created_at | 2025-10-09 22:36:28.296978+00 |
| updated_at | 2025-10-10 00:04:00.430951+00 |
| description | tiny implementation of https://stella.lifeless.space/code/dollnary/ |
| homepage | |
| repository | https://codeberg.org/ember-ana/dollnary.rs |
| max_upload_size | |
| id | 1876262 |
| size | 4,511 |
tiny dollnary implementation
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);