Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 677 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 677 Bytes

tlv-parser

Build status Latest Version Docs

Library for parsing BER-TLV

Library supports parsing from &[u8] and emitting Vec<u8>.

This is no_std crate if you can use core::alloc.

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