def prefix.decode

mylsm-lsm-store@0.6.0.1 · src/coordinator/CursorOpenCodec.bend:318

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

318# Parses one present prefix bound and requires an exact request boundary.
319def prefix.decode(
320  payload: Bytes.Bytes,
321  snapshot_id: U32,
322  total: U32
323) -> Decision:
324  prefix.decode.totals(payload, snapshot_id, u32.duplicate.pair(total))

Uses (5)

Used by (1)