def read.block.header.inspected

mylsm-lsm-store@0.6.0.1 · src/SstStreamIo.bend:186

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

186def read.block.header.inspected(
187  pair: Bytes.Bytes & Bytes.Bytes
188) -> Bytes.Bytes & Maybe<&2, U32>:
189  match pair:
190    case (saved, inspect):
191      read.block.header.tail(saved, SstFile.stream.block.tail_size(inspect))

Uses (7)

Used by (1)