(that, array)
| 8896 | } |
| 8897 | |
| 8898 | function fromArrayLike (that, array) { |
| 8899 | var length = array.length < 0 ? 0 : checked(array.length) | 0; |
| 8900 | that = createBuffer(that, length); |
| 8901 | for (var i = 0; i < length; i += 1) { |
| 8902 | that[i] = array[i] & 255; |
| 8903 | } |
| 8904 | return that |
| 8905 | } |
| 8906 | |
| 8907 | function fromArrayBuffer (that, array, byteOffset, length) { |
| 8908 | array.byteLength; // this throws if `array` is not a valid ArrayBuffer |
no test coverage detected