def frame.payload.size

mylsm-lsm-store@0.6.0.1 · src/Wal.bend:296

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

296def frame.payload.size(
297  count: U32,
298  pair: Bytes.Bytes & Bytes.Bytes
299) -> Result<&1, &1, Error, Bytes.Bytes>:
300  match pair:
301    case (output, hash_payload):
302      frame.payload.output(count, hash_payload, Bytes.length(output))

Uses (8)

Used by (1)