def parse.block

mylsm-lsm-store@0.6.0.1 · src/SstFile.bend:1018

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

1018# Parse, bound, and authenticate one complete SST block.
1019def parse.block(
1020  cursor: Bytes.Cursor,
1021  previous: Maybe<&2, String>
1022) -> Bytes.Cursor & Result<&1, &1, Error, ParsedBlock>:
1023  parse.block.length(Bytes.Cursor.u32be(cursor), previous)

Uses (9)

Used by (4)