Expand description
Write headers describe independently framed, chunked audience streams (§15.6).
Structs§
- Part
Decoder - Decode opened chunks of one part in order, retaining only its unfinished
frame and previous record identity. The caller stages yielded records until the
whole object and signature have been checked.
finishchecks the declared record count and byte length; frames crossing the part’s end are refused before their allocation. - Part
Header - The plaintext stream boundaries of one audience part.
- Write
Encoder - A borrowed write producer. Before emitting, it encodes one record at a time to measure each part’s byte length and construct the header; emitting a part retains at most one record frame and one 64-KiB chunk.
- Write
Header Frame - The kind-1 header frame; changes and dismissals are separate kind-2 and kind-3 frames.
Functions§
- decode_
plaintext - Decode a plaintext upload-queue value into the database’s in-memory write.
Stream consumers can instead use
WriteHeaderFrameandPartDecoder.