def next.body.copies.checked
mylsm-lsm-store@0.6.0.1 · src/scan/ByteBlockReader.bend:1291
import mylsm-lsm-store@0.6.0.1/src/scan/ByteBlockReader.bend as ByteBlockReader
import Base
import mylsm-lsm-store@0.6.0.1/src/ByteSstFile.bend as ByteSstFile
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
1291def next.body.copies.checked(
1292 file: File,
1293 state: State,
1294 block_bytes: Bytes.Bytes,
1295 +payload_length: U32,
1296 copies: Bytes.Bytes & Bytes.Bytes
1297) -> IO(Result<&1, &1, U32 & String, Step>):
1298 match copies:
1299 case (for_checksum, for_parser):
1300 next.body.parsed(file, state, block_bytes, payload_length,
1301 block.checksum.valid(for_checksum, payload_length),
1302 ByteSstFile.parse_block(for_parser))