def seek.block.words.copies

mylsm-lsm-store@0.6.0.1 · src/scan/ByteBlockReader.bend:544

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

544def seek.block.words.copies(
545  pair: Bytes.Bytes & Bytes.Bytes
546) -> Maybe<&2, U32> & Maybe<&2, U32>:
547  match pair:
548    case (offset, length):
549      (seek.block.word(Bytes.get.u32be(offset, 0)),
550        seek.block.word(Bytes.get.u32be(length, 4)))

Uses (7)

Used by (1)