(that, array)
| 9933 | } |
| 9934 | |
| 9935 | function fromArrayLike (that, array) { |
| 9936 | var length = array.length < 0 ? 0 : checked(array.length) | 0 |
| 9937 | that = createBuffer(that, length) |
| 9938 | for (var i = 0; i < length; i += 1) { |
| 9939 | that[i] = array[i] & 255 |
| 9940 | } |
| 9941 | return that |
| 9942 | } |
| 9943 | |
| 9944 | function fromArrayBuffer (that, array, byteOffset, length) { |
| 9945 | array.byteLength // this throws if `array` is not a valid ArrayBuffer |
no test coverage detected