()
| 4185 | },createLazyFile:function (parent, name, url, canRead, canWrite) { |
| 4186 | // Lazy chunked Uint8Array (implements get and length from Uint8Array). Actual getting is abstracted away for eventual reuse. |
| 4187 | function LazyUint8Array() { |
| 4188 | this.lengthKnown = false; |
| 4189 | this.chunks = []; // Loaded chunks. Index is the chunk number |
| 4190 | } |
| 4191 | LazyUint8Array.prototype.get = function LazyUint8Array_get(idx) { |
| 4192 | if (idx > this.length-1 || idx < 0) { |
| 4193 | return undefined; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…