The readable read-only property of the CompressionStream interface returns a ReadableStream.
The readable read-only property of the CompressionStream interface returns a ReadableStream.
The following example returns a ReadableStream from a CompressionStream.
js
let stream = new CompressionStream("gzip"); console.log(stream.readable); //a ReadableStream
| Specification |
|---|
| Streams Standard # dom-generictransformstream-readable |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
readable |
80 | 80 | 113 | No | 67 | 16.4 | 80 | 80 | 113 | 57 | 16.4 | 13.0 |
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/CompressionStream/readable