(array)
| 254 | } |
| 255 | |
| 256 | function fromArrayLike (array) { |
| 257 | const length = array.length < 0 ? 0 : checked(array.length) | 0 |
| 258 | const buf = createBuffer(length) |
| 259 | for (let i = 0; i < length; i += 1) { |
| 260 | buf[i] = array[i] & 255 |
| 261 | } |
| 262 | return buf |
| 263 | } |
| 264 | |
| 265 | function fromArrayView (arrayView) { |
| 266 | if (isInstance(arrayView, Uint8Array)) { |
no test coverage detected
searching dependent graphs…