DecompressionStream.writable

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

Syntax

let writableStream = DecompressionStream.writable;

Value

A WritableStream.

Examples

The following example returns a WritableStream from a DecompressionStream.

let stream = new DecompressionStream('gzip');
console.log(stream.writeable); //a WritableStream
Specification Status Comment
Streams
The definition of 'writable' in that specification.
Living Standard Initial definition.

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
No
No
67
No
80
80
No
57
No
13.0

© 2005–2021 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