Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Binary formats and protocols: LTV is better than TLV
(
devever.net
)
1 point
by
signa11
on May 11, 2023
|
hide
|
past
|
favorite
|
1 comment
kstenerud
on May 11, 2023
[–]
LTV only makes sense if every data type you represent requires a length field, and that's usually not the case.
T(V/LV) allows you to represent types with implied lengths (and thus save space).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
T(V/LV) allows you to represent types with implied lengths (and thus save space).