def records.read.wrap
import mylsm-lsm-store@0.6.0.1/src/Wal.bend as Walimport Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
359def records.read.wrap(
360 pair: Bytes.Cursor & Result<&1, &1, Error, Mut>
361) -> RecordRead:
362 match pair:
363 case (cursor, result):
364 RecordInput{cursor, result}