def record.malformed
import mylsm-lsm-store@0.6.0.1/src/ByteWal.bend as ByteWalimport Base
import mylsm-lsm-store@0.6.0.1/src/Wal.bend as Wal
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
172# Returns a malformed-record result while retaining the source frame.
173def record.malformed(frame: Bytes.Bytes) -> DecodedRecord:
174 RecordError{frame, Wal.Malformed{}}