GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

6 results across 6 corpora for DecompressionStream.

Developer library 6

Firefox 147 release notes for developers

tps://bugzil.la/1997962)). - Brotli compression is now supported for both [`CompressionStream`](/docs/Web/API/CompressionStream/CompressionStream#brotli) and [`DecompressionStream`](/docs/Web/API/DecompressionStream/DecompressionStream#brotli). ([Firefox bug 1921583](https://bugzil.la/1921583)). - Service workers can now be ECMAScript [module scripts](/docs/Web/JavaScript/Guide/Modules). To load a service worker

DecompressionStream

Compression Streams API The **`DecompressionStream`** interface of the decompresses a stream of data. It implements the same shape as a TransformStream, allowing it to be used in ReadableStream.pipeThrough() and similar methods. ## Constructor - DecompressionStream() - : Creates a new `DecompressionStream` ## Instance properties - DecompressionStream.readable - : Returns the ReadableStream instance control

DecompressionStream: DecompressionStream() constructor

Compression Streams API The **`DecompressionStream()`** constructor creates a new DecompressionStream object which decompresses a stream of data. ## Syntax ```js-nolint new DecompressionStream(format) ``` ### Parameters - `format` - : One of the following compression formats: - `"brotli"` - : Decompress the stream using the [Brotli](https://www.rfc-editor.org/info/rfc7932/) algorithm. - `"gzip"`

DecompressionStream: readable property

Compression Streams API The **`readable`** read-only property of the DecompressionStream interface returns a ReadableStream that emits decompressed data as Uint8Array chunks. ## Value A ReadableStream. ## Examples This example creates a `DecompressionStream` that performs gzip decompression. It writes some compressed binary data to the `writable` stream, then reads the decompressed data from the `readable` strea

DecompressionStream: writable property

Compression Streams API The **`writable`** read-only property of the DecompressionStream interface returns a WritableStream that accepts compressed data to be decompressed, in the form of ArrayBuffer, TypedArray, or DataView chunks. ## Value A WritableStream. ## Examples This example creates a `DecompressionStream` that performs gzip decompression. It writes some compressed binary data to the `writable` stream,

Compression Streams API

can be used to convert streams to: - ArrayBuffer - Blob - Uint8Array - String - JSON ## Interfaces - CompressionStream - : Compresses a stream of data. - DecompressionStream - : Decompresses a stream of data. ## Examples In this example a stream is compressed using gzip compression. ```js const compressedReadableStream = inputReadableStream.pipeThrough( new CompressionStream("gzip"), ); ``` In the follo

JSON results · Services directory