A String Table chunk provides a list of key-string pairs that define various shared strings of the server, the feed, or the current run. The key is a 32-bit integer and is identified as a string-index and can be used in other chunks. The level of indirection on strings is useful for both sharing to specify deliberate sharing (as opposed to accidental string equality) and for space efficiency. The server is obligated to ensure uniqueness of the mapping.
Offset | Field | Type | Value |
---|---|---|---|
0 | count | int | Number of key-string entries in this chunk |
4 | key | int | Index of a key-string pair |
8 | value | String1 | Value of a key-string pair |
key | int | Index of a key-string pair | |
value | String1 | Value of a key-string pair | |
... (a total of count key/value pairs) |