def parse.block.frames

mylsm-lsm-store@0.6.0.1 · src/ByteSstFile.bend:1232

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 bend-kit-bytes@0.3.2.0/bytes.bend as Bytes

1232def parse.block.frames(
1233  pair: Bytes.Bytes & Bytes.Bytes,
1234  count: U32,
1235  payload_length: U32
1236) -> Result<&1, &1, Error, ByteMemTable.Table>:
1237  match pair:
1238    case (block, frame):
1239      parse.block.frames.decode(clone.split(frame), block, count,
1240        payload_length)

Uses (9)

Used by (1)