def bytes.clone.split
import mylsm-lsm-store@0.6.0.1/src/SstFile.bend as SstFileimport Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
66def bytes.clone.split(bytes: Bytes.Bytes) -> Bytes.Bytes & Bytes.Bytes:
67 match bytes:
68 case Bytes.Bytes{+len, buf}:
69 bytes.clone.pair(len, Bytes.copy.bytes(len, buf, Bytes.alloc(len), 0, 0))