Crates.io | ptlv |
lib.rs | ptlv |
version | 0.1.1 |
source | src |
created_at | 2020-07-09 13:32:06.173865 |
updated_at | 2020-07-09 23:47:31.895627 |
description | https://github.com/phodal/learn-rust |
homepage | https://github.com/phodal/learn-rust |
repository | https://github.com/phodal/learn-rust |
max_upload_size | |
id | 262894 |
size | 13,516 |
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.