{{APIRef("DOM")}}
ByteString
is a UTF-8 String that corresponds to the set of all possible sequences of bytes. Maps to a {{jsxref("String")}} when returned in JavaScript; generally only used when interfacing with protocols that use bytes and strings interchangably, such as HTTP.
Specifications
Specification | Status | Comment |
---|---|---|
{{SpecName('WebIDL', '#idl-ByteString', 'ByteString')}} | {{Spec2('WebIDL')}} | Initial definition. |