def range.decode
import mylsm-lsm-store@0.6.0.1/src/coordinator/CursorOpenCodec.bend as CursorOpenCodecimport Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
275# Parses both optional bounds and requires an exact request boundary.
276def range.decode(
277 payload: Bytes.Bytes,
278 snapshot_id: U32,
279 total: U32
280) -> Decision:
281 range.decode.totals(payload, snapshot_id,
282 u32.duplicate.triple(total))