def item.header.size

mylsm-lsm-store@0.6.0.1 · src/coordinator/CursorCodec.bend:291

import mylsm-lsm-store@0.6.0.1/src/coordinator/CursorCodec.bend as CursorCodec
import Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes

291# Rejects item headers that cannot contain both length words.
292def item.header.size(
293  payload: Bytes.Bytes,
294  size: U32,
295  is_item: Bool
296) -> Decision:
297  item.header.compare(payload, u32.duplicate(size), is_item)

Uses (6)

Used by (1)