Skip to content

A reader of a SEAM data file must verify the following.

  1. Every frame and the footer authenticate under the AAD of their position.
  2. Footer: magic, version range, flag table, file id, section bounds and order.
  3. Index offsets and lengths lie inside [0, bloom_off), and the stats count equals the index count.
  4. raw_len is at most 64 MiB, and the decompressed size equals raw_len.
  5. Every block decoder consumes its input exactly and checks every count against its limit.
  6. Within a file, entries are strictly increasing in (user asc, ts desc). A writer rejects otherwise with Corrupt("keys out of order").
  7. Columnar decoders reject unknown codec ids, out-of-range widths, reference indices greater than or equal to c, and expansion mismatches.