def clone.pair

mylsm-lsm-store@0.6.0.1 · src/ByteManifest.bend:49

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

49# Creates two owned copies for hashing and output.
50def clone.pair(+len: U32, copies: Array<U32> & Array<U32>) -> Bytes.Bytes & Bytes.Bytes:
51  match copies:
52    case (left, right): (Bytes.Bytes{len, left}, Bytes.Bytes{len, right})

Uses (5)

Used by (1)