MCPcopy
hub / github.com/gildas-lormeau/zip.js / init

Method init

index-native.cjs:6644–6651  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6642 }
6643
6644 async init() {
6645 const zipBlobReader = this;
6646 zipBlobReader.size = zipBlobReader.entry.uncompressedSize;
6647 const data = await zipBlobReader.entry.getData(new BlobWriter(), Object.assign({}, zipBlobReader.options, options));
6648 zipBlobReader.data = data;
6649 zipBlobReader.blobReader = new BlobReader(data);
6650 super.init();
6651 }
6652
6653 readUint8Array(index, length) {
6654 return this.blobReader.readUint8Array(index, length);

Callers

nothing calls this directly

Calls 2

getDataMethod · 0.65
initMethod · 0.65

Tested by

no test coverage detected