def replay.frame.decoded

mylsm-lsm-store@0.6.0.1 · src/transfer/LegacyWal.bend:324

import mylsm-lsm-store@0.6.0.1/src/transfer/LegacyWal.bend as LegacyWal
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

324def replay.frame.decoded(
325  pair: Bytes.Bytes & Bytes.Bytes,
326  frame_end: Nat,
327  batches: List<&2, Wal.Batch>
328) -> ReplayState:
329  match pair:
330    case (bytes, frame):
331      ReplayDecoded{bytes, frame_end, batches, Wal.decode_frame(frame)}

Uses (8)

Used by (1)