def record.value.sliced
import mylsm-lsm-store@0.6.0.1/src/ByteWal.bend as ByteWalimport Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
188# Finishes a value mutation after checking its complete record bound.
189def record.value.sliced(
190 pair: Bytes.Bytes & Bytes.Bytes,
191 value_offset: U32,
192 value_length: U32
193) -> DecodedRecord:
194 match pair:
195 case (frame, value):
196 record.value.finished(frame, value, value_offset, value_length)