/jabcode-rs

Idiomatic Rust bindings to the JAB Code standard implementation

Primary LanguageRustOtherNOASSERTION

jabcode-rs

Crate status Crate docs

Idiomatic Rust bindings to the JAB Code standard implementation.

Usage

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);