B
B
JavaScript

Copying an array with addition by offsets, what?

There are 2 uint8array in and out
sizes in=6 out=8
need to be copied like this:

in[0]=out[0]
in[1]=out[1]
in[2]=out[2]
out[3] = значение
in[3]=out[4]
in[4]=out[5]
in[5]=out[6]
in[6]=out[7]
out[8] = значение


array sizes can change

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Belyaev, 2021-04-03
@bingo347

https://developer.mozilla.org/en-US/docs/Web/JavaS...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question