def u32.clone.pair.input

mylsm-lsm-store@0.6.0.1 · src/coordinator/OwnerGeneration.bend:39

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

39def u32.clone.pair.input(input: Bytes.Bytes) -> U32 & U32:
40  match input:
41    case Bytes.Bytes{+len, buf}:
42      u32.clone.pair.copies(u32.clone.pair.buffers(len,
43        Bytes.copy.bytes(len, buf, Bytes.alloc(len), 0, 0)))

Uses (7)

Used by (1)