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月.
TextEncoderStream はエンコーディング API のインターフェイスで、文字列のストリームを UTF-8 エンコーディングのバイト列に変換します。これは TextEncoder と同等のストリームです。
新しい TextEncoderStream オブジェクトを作成します。
常に "utf-8" を返します。
TextEncoderStream.readable 読取専用このオブジェクトが制御する ReadableStream インスタンスを返します。
TextEncoderStream.writable 読取専用このオブジェクトが制御する WritableStream インスタンスを返します。
| Encoding # interface-textencoderstream |
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.