def next.block.header.copies
mylsm-lsm-store@0.6.0.1 · src/scan/ByteBlockReader.bend:1385
import mylsm-lsm-store@0.6.0.1/src/scan/ByteBlockReader.bend as ByteBlockReader
import Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
1385def next.block.header.copies(
1386 file: File,
1387 state: State,
1388 copies: Bytes.Bytes & Bytes.Bytes
1389) -> IO(Result<&1, &1, U32 & String, Step>):
1390 match copies:
1391 case (for_length, retained):
1392 next.block.length(file, state, retained, Bytes.get.u32be(for_length, 0))