def decode_frame

mylsm-lsm-store@0.6.0.1 · src/Wal.bend:542

import mylsm-lsm-store@0.6.0.1/src/Wal.bend as Wal
import Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes

542# Decode frame for the packed WAL codec.
543def decode_frame(
544  bytes: Bytes.Bytes
545) -> Result<&1, &1, Error, Batch>:
546  frame.bound.length(Bytes.Cursor.u32be(Bytes.Cursor.new(bytes)))

Uses (7)

Used by (2)