(src, dst, offset, length)
| 4371 | } |
| 4372 | |
| 4373 | function blitBuffer (src, dst, offset, length) { |
| 4374 | for (var i = 0; i < length; ++i) { |
| 4375 | if ((i + offset >= dst.length) || (i >= src.length)) break |
| 4376 | dst[i + offset] = src[i] |
| 4377 | } |
| 4378 | return i |
| 4379 | } |
| 4380 | |
| 4381 | // ArrayBuffer or Uint8Array objects from other contexts (i.e. iframes) do not pass |
| 4382 | // the `instanceof` check but they should be treated as of that type. |
no outgoing calls
no test coverage detected
searching dependent graphs…