I'm reading about the gossip protocol and wanted to know what a TLV is. I can't find what it means anywhere.
Asked
Active
Viewed 523 times
1 Answers
8
TLV stands for type-length-value. It's an encoding scheme used when protocols allow for optional elements in their messages.
The type is a label telling you what field you're looking at, the length tells you how long the field is, and the value provides the actual field data.
Murch
- 71,155
- 33
- 180
- 600