def bytes.clone.pair

mylsm-lsm-store@0.6.0.1 · src/SstFile.bend:58

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

58def bytes.clone.pair(
59  +len: U32,
60  copied: Array<U32> & Array<U32>
61) -> Bytes.Bytes & Bytes.Bytes:
62  match copied:
63    case (left, right):
64      (Bytes.Bytes{len, left}, Bytes.Bytes{len, right})

Uses (5)

Used by (1)