Get to know MDN better
このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2022年9月.
TextDecoderStream はエンコーディング API のインターフェイスで、UTF-8 などのバイナリーエンコーディングのテキストストリームを文字列ストリームに変換します。 これは TextDecoder と同等のストリームです。
新しい TextDecoderStream オブジェクトを作成します。
エンコーディングです。
TextDecoderStream.fatal 読取専用論理値で、エラーモードが fatal であるかどうかを示します。
TextDecoderStream.ignoreBOM 読取専用論理値で、バイトオーダーマークを無視するかどうかを示します。
TextDecoderStream.readable 読取専用このオブジェクトによって制御される ReadableStream のインスタンスを返します。
TextDecoderStream.writable 読取専用このオブジェクトによって制御される WritableStream のインスタンスを返します。
| Encoding # interface-textdecoderstream |
Enable JavaScript to view this browser compatibility table.
This page was last modified on 2023年5月10日 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.