Library for parsing BER-TLV
Library is early development stage and supports parsing from &[u8]
and emitting Vec<u8>
.
For now, it only builds on nightly.
Crate is no_std
compatible if you can use core::collections
.
For usage see decode-tlv/src/main.rs
.
$ echo "7003820151" | cargo run
Running `target/debug/decode-tlv`
tag=70
tag=82, len=1, data=51 Q