def item.key.bound.compare

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

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

227# Accepts key lengths that leave a complete value length word.
228def item.key.bound.compare(
229  payload: Bytes.Bytes,
230  size: U32,
231  key_lengths: U32 & U32
232) -> Decision:
233  item.key.bound.check(payload, u32.duplicate(size), key_lengths)

Uses (6)

Used by (1)