def record.malformed

mylsm-lsm-store@0.6.0.1 · src/ByteWal.bend:172

import mylsm-lsm-store@0.6.0.1/src/ByteWal.bend as ByteWal
import 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{}}

Uses (3)

Used by (8)