def field.sized.sliced
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
65# Retains the source buffer while storing one exact bound slice.
66def field.sized.sliced(
67 pair: Bytes.Bytes & Bytes.Bytes,
68 next: U32
69) -> BoundResult:
70 match pair:
71 case (source, value): BoundParsed{source, Some{value}, next}