subu8/s8/u16/s16/u32/s32/u64/s64array_move


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.

Examples:


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]
      

Also see:

u8/s8/u16/s16/u32/s32/u64/s64array_copy
subu8/s8/u16/s16/u32/s32/u64/s64array_fill


Core Module Index | Main Index