def item.header.read
import mylsm-lsm-store@0.6.0.1/src/coordinator/CursorCodec.bend as CursorCodecimport Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
261# Routes complete item headers to the key-length decoder.
262def item.header.read(
263 read: Bytes.Bytes & Maybe<&2, U32>,
264 size: U32
265) -> Decision:
266 match read:
267 case (payload, parsed): item.key.length(payload, size, parsed)