Catalog.json: Difference between revisions

No edit summary
Line 69: Line 69:
   {{DataStructureField|buckets|array|A list of buckets. The length of the list can be determined by either using the <code>bucket_count</code> field, or reading until the end of the binary data.|
   {{DataStructureField|buckets|array|A list of buckets. The length of the list can be determined by either using the <code>bucket_count</code> field, or reading until the end of the binary data.|
     {{DataStructureField||struct|A bucket. The size of the struct is variable.|
     {{DataStructureField||struct|A bucket. The size of the struct is variable.|
       {{DataStructureField|bucket_id|uint32|4-byte integer, probably some kind of bucket ID.}}
       {{DataStructureField|key_offset|uint32|4-byte integer, offset into the <code>KeyData</code> binary blob. Points to the beginning of a key entry associated with this bucket.}}
       {{DataStructureField|entry_count|uint32|4-byte integer, determining the amount of entries in the <code>entries</code> array.}}
       {{DataStructureField|entry_count|uint32|4-byte integer, determining the amount of entries in the <code>entries</code> array.}}
       {{DataStructureField|entries|array|Array of 4-byte indices. The length of this array is determined by the <code>entry_count</code> field.|
       {{DataStructureField|entries|array|Array of 4-byte indices. The length of this array is determined by the <code>entry_count</code> field.|