pub fn build_types_starts( num_records_expected: usize, type_records: &[u8], ) -> Vec<u32>
Builds a “starts” table that gives the starting location of each type record.