def encode.page.frame.block

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

import mylsm-lsm-store@0.6.0.1/src/ByteSstFile.bend as ByteSstFile
import Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes

517def encode.page.frame.block(
518  count: U32,
519  lengths: Bytes.Bytes & U32
520) -> Result<&1, &1, Error, Bytes.Bytes>:
521  match lengths:
522    case (frame, +frame_length):
523      file.block.raw(frame, count, frame_length)

Uses (7)

Used by (1)