@constructor
()
| 3131 | // Lazy chunked Uint8Array (implements get and length from Uint8Array). Actual getting is abstracted away for eventual reuse. |
| 3132 | /** @constructor */ |
| 3133 | function LazyUint8Array() { |
| 3134 | this.lengthKnown = false; |
| 3135 | this.chunks = []; // Loaded chunks. Index is the chunk number |
| 3136 | } |
| 3137 | LazyUint8Array.prototype.get = /** @this{Object} */ function LazyUint8Array_get(idx) { |
| 3138 | if (idx > this.length-1 || idx < 0) { |
| 3139 | return undefined; |
nothing calls this directly
no outgoing calls
no test coverage detected