You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only places ByteString is used on the platform are:
XHR, Fetch, and Service Worker APIs dealing with HTTP headers
The return value of atob.
The latter could be easily converted to a DOMString (since it's a return value this has no change in semantics). And then we could do the proposed rename to make it clear when ByteString is reasonable to use on the web platform.
Thoughts?
The text was updated successfully, but these errors were encountered:
I think it's fine to use for all cases where you have a byte sequence and want to return it isomomorphic decoded for convenience. It's typically network APIs that need this as they never adopted Unicode.
The only places ByteString is used on the platform are:
The latter could be easily converted to a DOMString (since it's a return value this has no change in semantics). And then we could do the proposed rename to make it clear when ByteString is reasonable to use on the web platform.
Thoughts?
The text was updated successfully, but these errors were encountered: