TextDecoderStream: readable プロパティ
readable は TextDecoderStream インターフェイスの読み取り専用プロパティで、ReadableStream を返します。
値
ReadableStream です。
例
次の例は、ReadableStream を TextDecoderStream オブジェクトから返す方法を示しています。
js
stream = new TextDecoderStream();
console.log(stream.readable); //a ReadableStream
仕様書
| Specification |
|---|
| Streams Standard # dom-generictransformstream-readable |
ブラウザーの互換性
BCD tables only load in the browser