DecompressionStream.writable

Baseline 2023
Newly 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 接口的 writable 属性返回 WritableStream

一个 WritableStream

示例

以下示例从 DecompressionStream 返回 WritableStream

js
let stream = new DecompressionStream("gzip");
console.log(stream.writeable); //一个 WritableStream

规范

Specification
Streams
# dom-generictransformstream-writable

浏览器兼容性

Report problems with this compatibility data on GitHub
desktopmobileserver
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
Deno
Node.js
writable

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support