1. 開発者向けのウェブ技術
  2. Web API
  3. TextDecoderStream

このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。

View in English Always switch to English

TextDecoderStream

Baseline Widely available

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 オブジェクトを作成します。

インスタンスプロパティ

TextDecoderStream.encoding 読取専用

エンコーディングです。

TextDecoderStream.fatal 読取専用

論理値で、エラーモードが fatal であるかどうかを示します。

TextDecoderStream.ignoreBOM 読取専用

論理値で、バイトオーダーマークを無視するかどうかを示します。

TextDecoderStream.readable 読取専用

このオブジェクトによって制御される ReadableStream のインスタンスを返します。

TextDecoderStream.writable 読取専用

このオブジェクトによって制御される WritableStream のインスタンスを返します。

仕様書

Specification
Encoding
# interface-textdecoderstream

ブラウザーの互換性

関連情報

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.

AltStyle によって変換されたページ (->オリジナル) /