--- title: ByteString slug: conflicting/Web/JavaScript/Reference/Global_Objects/String tags: - API - ByteString - DOM - DOM Reference - Reference - String - WebIDL - インターフェイス translation_of: Web/API/ByteString original_slug: Web/API/ByteString ---
ByteString は UTF-8 の文字列であり、一連のすべての可能性があるバイトの並びです。 ByteString は一般に JavaScript に返されるときに {{jsxref("String")}} に対応します。一般に、 HTTP などのバイト列と文字列を交換できるようなプロトコルにのみ使用されます。
| 仕様書 | 状態 | 備考 |
|---|---|---|
| {{SpecName('WebIDL', '#idl-ByteString', 'ByteString')}} | {{Spec2('WebIDL')}} | 初回定義 |