def parse.multi.block.frame
mylsm-lsm-store@0.6.0.1 · src/ByteSstFile.bend:1704
import mylsm-lsm-store@0.6.0.1/src/ByteSstFile.bend as ByteSstFile
import Base
import mylsm-lsm-store@0.6.0.1/src/ByteMemTable.bend as ByteMemTable
import mylsm-lsm-store@0.6.0.1/src/ByteWal.bend as ByteWal
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
1704def parse.multi.block.frame(
1705 pair: Bytes.Bytes & Bytes.Bytes,
1706 file: Bytes.Bytes,
1707 index_offset: Nat,
1708 next_block: Nat,
1709 block_count: Nat,
1710 level: U32,
1711 total: Nat,
1712 decoded: Nat,
1713 table: ByteMemTable.Table,
1714 record_count: Nat
1715) -> Result<&1, &1, Error, MultiRead>:
1716 match pair:
1717 case (_, frame):
1718 parse.multi.block.decoded(ByteWal.decode(frame), file, index_offset,
1719 next_block, block_count, level, total, decoded, table, record_count)