# tlv-parser
[](https://travis-ci.org/lexxvir/tlv-parser)
[](https://crates.io/crates/tlv_parser)
[](https://docs.rs/tlv_parser)
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`](https://github.com/lexxvir/tlv-parser/blob/master/decode-tlv/src/main.rs).
```
tag=70
tag=82, len=1, data=51 Q
```