ByteString
is a UTF-8 String that corresponds to the set of all possible sequences of bytes. ByteString
maps to a String
when returned in JavaScript; generally, it's only used when interfacing with protocols that use bytes and strings interchangably, such as HTTP.
Specifications
Specification | Status | Comment |
---|---|---|
Web IDLThe definition of 'ByteString' in that specification. | Candidate Recommendation | Initial definition. |
See also
- JavaScript
String
- Binary strings
ByteString by Mozilla Contributors is licensed under CC-BY-SA 2.5.