From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:Zstandard" |
|---|
| claim | "Zstandard's seekable format ends the file with a skippable frame (magic 0x184D2A5E) holding Number_Of_Frames seek entries (Compressed_Size uint32, Decompressed_Size uint32, optional Checksum uint32 = XXH64 low half) and a 9-byte footer: Number_Of_Frames uint32, Seek_Table_Descriptor (bit 7 Checksum_Flag, bits 6-2 reserved 0, bits 1-0 unused), Seekable_Magic_Number 0x8F92EAB1 (bytes B1 EA 92 8F), the last 4 bytes of the file." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Zstandard" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "Seek_Table_Footer" |
|---|
| size | 9 |
|---|
| fields | | offset | 0 |
|---|
| size | 4 |
|---|
| type | "uint32" |
|---|
| name | "Number_Of_Frames" |
|---|
|
| offset | 4 |
|---|
| size | 1 |
|---|
| type | "uint8" |
|---|
| name | "Seek_Table_Descriptor" |
|---|
| bits | | bit | "7" |
|---|
| name | "Checksum_Flag" |
|---|
|
| bit | "2-6" |
|---|
| name | "Reserved_Bits" |
|---|
| notes | "must be 0" |
|---|
|
| bit | "0-1" |
|---|
| name | "Unused_Bits" |
|---|
|
|
|---|
|
| offset | 5 |
|---|
| size | 4 |
|---|
| type | "uint32" |
|---|
| name | "Seekable_Magic_Number" |
|---|
| notes | "0x8F92EAB1, bytes B1 EA 92 8F" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "documentation" |
|---|
| detail | "Seek Table Format, Seek_Table_Footer, Seek_Table_Entries" |
|---|
| repo | "https://github.com/facebook/zstd" |
|---|
| commit | "49cf51799ea051457f57243527aa2058f999f005" |
|---|
| path | "contrib/seekable_format/zstd_seekable_compression_format.md" |
|---|
| lines | "36-113" |
|---|
|
| type | "source" |
|---|
| detail | "#define ZSTD_SEEKABLE_MAGICNUMBER 0x8F92EAB1" |
|---|
| repo | "https://github.com/facebook/zstd" |
|---|
| commit | "49cf51799ea051457f57243527aa2058f999f005" |
|---|
| path | "contrib/seekable_format/zstd_seekable.h" |
|---|
| lines | "14" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "Seek_Table_Footer" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-17T17:12:19.716Z" |
|---|
| verifications | |
|---|