def bytes.clone.pair

mylsm-lsm-store@0.6.0.1 · src/ByteMemTable.bend:92

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

92# Reifies the two independently owned buffers returned by the copy effect.
93def bytes.clone.pair(+len: U32, copied: Array<U32> & Array<U32>) -> Bytes.Bytes & Bytes.Bytes:
94  match copied:
95    case (left, right):
96      (Bytes.Bytes{len, left}, Bytes.Bytes{len, right})

Uses (5)

Used by (1)