interface CompressionStream
extends GenericTransformStream
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 #
readonly
#readable: ReadableStream<Uint8Array>
readonly
#writable: WritableStream<BufferSource>
variable CompressionStream