def decode.payload.field

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

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

402# Projects one snapshot-token parse while retaining the full request.
403def decode.payload.field(
404  payload: Bytes.Bytes,
405  total: U32,
406  field: Bytes.Bytes & Maybe<&2, U32>
407) -> Decision:
408  match field:
409    case (_, parsed): decode.payload(payload, total, parsed)

Uses (7)

Used by (1)