interface CompressionStream
An API for compressing a stream of data.
Examples
🔗
Example 1
Example 1
await Deno.stdin.readable
.pipeThrough(new CompressionStream("gzip"))
.pipeTo(Deno.stdout.writable);
Properties
🔗
readable: ReadableStream<Uint8Array>
🔗
writable: WritableStream<Uint8Array>