class CompressionStream

An API for compressing a stream of data.

Constructors

new
CompressionStream(format: string)
[src]

Creates a new CompressionStream object which compresses a stream of data.

Throws a TypeError if the format passed to the constructor is not supported.

Properties

readonly
readable: ReadableStream<Uint8Array>
[src]
readonly
writable: WritableStream<Uint8Array>
[src]