HomeSerpent OS

binary/writer: Only store recordCount when we definitely know it

Description

binary/writer: Only store recordCount when we definitely know it

Unlike the other payloads, the KvPairPayload only knows how many records
it has when the bulk insert operation has finished. As such, we'll store
the corrected header with the fresh recordCount for future reads.

Signed-off-by: Ikey Doherty <ikey@serpentos.com>

Details

Provenance
ikeyAuthored on Wed, Apr 21, 11:16 AM
Parents
rMFM0dd75393fa98: payload/kvpair: Add basic encoding routine
Branches
Unknown
Tags
Unknown