subu8array_move(a, start, end, dst, dst_start)
subs8array_move(a, start, end, dst, dst_start)
subu16array_move(a, start, end, dst, dst_start)
subs16array_move(a, start, end, dst, dst_start)
subu32array_move(a, start, end, dst, dst_start)
subs32array_move(a, start, end, dst, dst_start)
subu64array_move(a, start, end, dst, dst_start)
subs64array_move(a, start, end, dst, dst_start)
Replace part of the contents of the integer array dst
with part of the contents
of a
. It copies elements from a
, beginning with index start
(inclusive) and ending with
index end
(exclusive) to dst
beginning at index dst_start
(inclusive).
Return void
.
let a = #u8[1, 2, 3, 4, 5]
let b = #u8[0, 0, 0, 0, 0]
subu8array_move(a, 2, 4, b, 0)
b
// #u8[3, 4, 0, 0, 0]