jabcode-rs
Idiomatic Rust bindings to the JAB Code standard implementation.
Usage
let image = write_jabcode.unwrap;
let buf = read_jabcode.unwrap;
let output = Stringfrom_utf8.unwrap;
assert_eq!;
Idiomatic Rust bindings to the JAB Code standard implementation.
let image = jabcode::write_jabcode(
"Hello world".as_bytes(),
&jabcode::WriteOptions::default()).unwrap();
let buf = jabcode::read_jabcode(&image).unwrap();
let output = String::from_utf8(buf).unwrap();
assert_eq!("Hello world", output);