(that, array)
| 837 | } |
| 838 | |
| 839 | function fromArrayLike (that, array) { |
| 840 | var length = array.length < 0 ? 0 : checked(array.length) | 0 |
| 841 | that = createBuffer(that, length) |
| 842 | for (var i = 0; i < length; i += 1) { |
| 843 | that[i] = array[i] & 255 |
| 844 | } |
| 845 | return that |
| 846 | } |
| 847 | |
| 848 | function fromArrayBuffer (that, array, byteOffset, length) { |
| 849 | array.byteLength // this throws if `array` is not a valid ArrayBuffer |
no test coverage detected