def decode_header

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

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

83# Decode header for the packed WAL codec.
84def decode_header(bytes: Bytes.Bytes) -> Result<&1, &1, Error, Unit>:
85  header.valid(Bytes.eq(log_header(), bytes))

Uses (7)

Used by (2)