W3cubDocs

/Web APIs

DecompressionStream: writable property

The writable read-only property of the DecompressionStream interface returns a WritableStream.

Value

Examples

The following example returns a WritableStream from a DecompressionStream.

js

let stream = new DecompressionStream("gzip");
console.log(stream.writable); // A WritableStream

Specifications

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
writable 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/DecompressionStream/writable