Expand description
A writes slot’s body codec, inner-write identities and ordering checks (D9).
Constants§
- HEAD_
LEN - The body’s head: the slot header frame, then how many inner writes follow.
Functions§
- check_
write - Check one authenticated inner header’s device, causal prefix and increasing number within a writes slot.
- decode_
head - Decode exactly a body’s head: its slot header and positive write count.
- decode_
write_ length - Decode an inner write’s length field, refusing an empty write or one
longer than the
remainingbody bytes after the field. - encode_
head - Encode the head of a body holding
countinner writes, at least one. - encode_
write_ length - The length field before each inner write.
- identity
- Exact crypto identity of an inner write, independent of its containing slot.