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