ptlv

Crates.ioptlv
lib.rsptlv
version0.1.1
sourcesrc
created_at2020-07-09 13:32:06.173865
updated_at2020-07-09 23:47:31.895627
descriptionhttps://github.com/phodal/learn-rust
homepagehttps://github.com/phodal/learn-rust
repositoryhttps://github.com/phodal/learn-rust
max_upload_size
id262894
size13,516
Fengda Huang (phodal)

documentation

https://github.com/phodal/learn-rust

README

TLV Rust

Type-Length-Value

c

The type and length are fixed in size (typically 1-4 bytes), and the value field is of variable size. These fields are used as follows:

Type

A binary code, often simply alphanumeric, which indicates the kind of field that this part of the message represents;

Length

The size of the value field (typically in bytes);

Value

Variable-sized series of bytes which contains data for this part of the message.

Documents

Commit count: 223

cargo fmt