(src, type)
| 1 | // Common Javascript functions used by the examples |
| 2 | |
| 3 | function convertTypedArray(src, type) { |
| 4 | var buffer = new ArrayBuffer(src.byteLength); |
| 5 | var baseView = new src.constructor(buffer).set(src); |
| 6 | return new type(buffer); |
| 7 | } |
| 8 | |
| 9 | var printTextarea = (function () { |
| 10 | var element = document.getElementById("output"); |
nothing calls this directly
no outgoing calls
no test coverage detected