def clone.pair
import mylsm-lsm-store@0.6.0.1/src/scan/ByteRange.bend as ByteRangeimport Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
5# Reifies two independently owned copies of a byte buffer.
6def clone.pair(+len: U32, copied: Array<U32> & Array<U32>) -> Bytes.Bytes & Bytes.Bytes:
7 match copied:
8 case (left, right):
9 (Bytes.Bytes{len, left}, Bytes.Bytes{len, right})