Expand description
Parser for SQLite changeset/patchset binary format.
Parses SQLite session extension changesets and patchsets from binary into
DiffSetBuilder instances.
§Binary Format
The format consists of one or more table sections:
Table Header:
├── Marker: 'T' (0x54) for changeset, 'P' (0x50) for patchset
├── Column count (1 byte)
├── PK flags (1 byte per column: 0x01 = PK, 0x00 = not)
└── Table name (null-terminated UTF-8)
Change Records (repeated):
├── Operation code: INSERT=0x12, DELETE=0x09, UPDATE=0x17
├── Indirect flag (1 byte, usually 0)
└── Values (encoded per operation type)Structs§
- Table
Schema - A table schema parsed from binary changeset/patchset data.
Enums§
- Format
Marker - The detected format marker.
- Parse
Error - Errors that can occur during parsing.
- Parsed
Diff Set - A parsed changeset or patchset.