Crates.io | tlv_parser |
lib.rs | tlv_parser |
version | 0.10.0 |
source | src |
created_at | 2016-07-29 14:54:24.864586 |
updated_at | 2024-09-24 10:50:43.511479 |
description | BER-TLV parsing & emitting library |
homepage | |
repository | https://github.com/lexxvir/tlv-parser |
max_upload_size | |
id | 5820 |
size | 21,880 |
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