MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / createZipBlob

Function createZipBlob

src/parsers/zipExportPolicy.ts:19–23  ·  view source on GitHub ↗
(zipped: Uint8Array)

Source from the content-addressed store, hash-verified

17}
18
19export function createZipBlob(zipped: Uint8Array): Blob {
20 const bytes = new Uint8Array(zipped.byteLength);
21 bytes.set(zipped);
22 return new Blob([bytes.buffer], { type: ZIP_MIME_TYPE });
23}

Callers 4

exportImagesZipFunction · 0.90
exportMasksZipFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected