On Tue, Oct 28, 2014 at 3:15 PM, Mark Callow <khronos@callow.im> wrote:On Oct 28, 2014, at 8:04 PM, Florian Bösch <pyalot@gmail.com> wrote:I propose an addition to the typed array specification that introduces these methods like
- argcpy(uint dstOffset, arguments...)
- arrcpy(uint dstOffset, Array|TypedArrayView someArray)
dst.set(someArray, dstOffset);
- memcpy(uint dstByteOffset, TypedArray[View] origin, uint srcByteOffset, uint srcByteCount)
dst.set(src.subarray(srcOffset, srcOffset + srcByteCount), dstOffset);
Attachment:
typed-array-test.png
Description: PNG image