def clone
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytesimport Base
351# Two buffers that hold the same bytes.
352def clone(b: Bytes) -> Bytes & Bytes:
353 Bytes{+len, buf} = b
354 clone.of(len, Array.clone(U32, buf))
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytesimport Base
351# Two buffers that hold the same bytes.
352def clone(b: Bytes) -> Bytes & Bytes:
353 Bytes{+len, buf} = b
354 clone.of(len, Array.clone(U32, buf))