The data chunk follows the header at offset 14. Its ID is FLdt, and its
length covers every remaining byte of the file: the whole stream of events that makes up
the project.
00000000 46 4C 68 64 06 00 00 00 00 00 10 00 60 00 46 4C FLhd........`.FL
00000010 64 74 3A 9C 01 00 C7 0C 32 30 2E 38 2E 33 2E 32 dt:.....20.8.3.2
Fields
| Offset | Size | Type | Name | Description |
|---|---|---|---|---|
| 14 | 4 | ASCII | magic | Always FLdt (46 4C 64 74). |
| 18 | 4 | u32 | length | The number of bytes of events that follow, little-endian. |
| 22 | length | bytes | events | The event stream, one event after another to the end of the file. |
Checking the length
The header and the data chunk's own ID and length take 22 bytes, and nothing follows the events. So in a complete file:
file size = data chunk length + 22
A file that fails this check was cut short or has extra bytes on the end. Reading the events stops at the end of the chunk, so a reader can still recover every event that is complete.