def clone.triple.first
import mylsm-lsm-store@0.6.0.1/src/ByteManifest.bend as ByteManifestimport Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
78# Adds an independently copied third buffer.
79def clone.triple.first(
80 +len: U32,
81 copies: Array<U32> & Array<U32>
82) -> Bytes.Bytes & Bytes.Bytes & Bytes.Bytes:
83 match copies:
84 case (first, second):
85 clone.triple.finish(len, second,
86 Bytes.copy.bytes(len, first, Bytes.alloc(len), 0, 0))