def record.decode
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
379# Decodes one raw WAL record from its length-delimited frame position.
380def record.decode(frame: Bytes.Bytes, +offset: U32) -> DecodedRecord:
381 record.tag(Bytes.get(frame, offset), offset)