Bytes.copy: def of bend-kit-bytes@0.3.3.0 Import: import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes Lines 117-120 of bend-kit-bytes@0.3.3.0/bytes.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&start_line=117&end_line=120 import Base # m bytes from src[s..] to dst[d..]. Whole words when d is word-aligned, shifted when s is not. # ponytail: an unaligned d (append after an odd length) copies bytes; merge into d's first word if that gets hot. def copy(+m: U32, src: Array, dst: Array, +s: U32, +d: U32) -> Array & Array: copy.dst(U32.is_eq((d .&. 3 : U32), 0), m, src, dst, s, d) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Array https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_eq https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=copy.dst