ByteString
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 IDL (Second Edition) The definition of 'ByteString' in that specification. |
Candidate Recommendation | Initial definition. |
See also
License
© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/bytestring