MCPcopy Create free account
hub / github.com/AlexErrant/Pentive / DecompressionStream

Class DecompressionStream

shared-dom/src/plugin.ts:23–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21
22// copied from cloudflare's definition. Use until this gets a better answer https://stackoverflow.com/q/75754724
23declare class DecompressionStream extends TransformStream<
24 ArrayBuffer | ArrayBufferView,
25 Uint8Array
26> {
27 constructor(format: 'gzip' | 'deflate' | 'deflate-raw')
28}
29
30async function getTarReader(blob: Blob) {
31 const decompressedStream = (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected