Integers
⚠️ The design and implementation chapter is outdated ⚠️
Integers will be serialized in little endian order using to_le_bytes()
.
usize
and isize
values will be subject to LEB128 compression.
NOTE(japaric) unclear to me if LEB128 encoding (more compression but more)
u16
andu32
is worth the trade-off
TODO(japaric) evaluate zigzag encoding for
isize
?