You've already forked specification
470 B
470 B
Vectors (and arrays, lists, maps, etc) are serialized by first serializing the number of elements and then serializing each element. The number of elements is serialized in compact int format.
| vector element count | object #0 | object #1 | ... | object #count-1 |
|---|---|---|---|---|
| compact int | object specific serialization | ... | ... | ... |