(src, dst, offset, length)
| 1839 | } |
| 1840 | |
| 1841 | function blitBuffer (src, dst, offset, length) { |
| 1842 | for (var i = 0; i < length; ++i) { |
| 1843 | if ((i + offset >= dst.length) || (i >= src.length)) break |
| 1844 | dst[i + offset] = src[i] |
| 1845 | } |
| 1846 | return i |
| 1847 | } |
| 1848 | |
| 1849 | // ArrayBuffers from another context (i.e. an iframe) do not pass the `instanceof` check |
| 1850 | // but they should be treated as valid. See: https://github.com/feross/buffer/issues/166 |
no outgoing calls
no test coverage detected
searching dependent graphs…