DecompressionStream.readable
Baseline 2023Newly available
Since May 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
DecompressionStream
接口的 readable
只读属性返回 ReadableStream
。
值
一个 ReadableStream
。
示例
以下示例从 DecompressionStream
返回 ReadableStream
。
js
let stream = new DecompressionStream("gzip");
console.log(stream.readable); //一个 ReadableStream
规范
Specification |
---|
Streams # dom-generictransformstream-readable |
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | server | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
readable |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.