Results 1 - 4 of 4

Binary strings

As web applications become more and more powerful, adding features such as audio and video manipulation, access to raw data using WebSockets, and so forth, it has become clear that there are times when it would be helpful for JavaScript code to be able to quickly and easily manipulate raw binary data. In the past, this had to be simulated by treating the raw data as a string and using the charCodeAt() method to read the bytes from the data buffer.
DOM JavaScript JavaScript typed arrays Reference Référence String

Base64 encoding and decoding

Base64 is a group of similar binary-to-text encoding schemes that represent binary data in an ASCII string format by translating it into a radix-64 representation. The term Base64 originates from a specific MIME content transfer encoding.
Advanced atob() Base64 btoa() JavaScript Typed Arrays Unicode Problem URI url URL

Base64 encoding and decoding

Base64 is a group of similar binary-to-text encoding schemes that represent binary data in an ASCII string format by translating it into a radix-64 representation. The term Base64 originates from a specific MIME content transfer encoding.
Advanced atob() Base64 btoa() JavaScript Typed Arrays Unicode Problem URI url URL

StringView

As web applications become more and more powerful, adding features such as audio and video manipulation, access to raw data using WebSockets, and so forth, it has become clear that there are times when it would be helpful for JavaScript code to be able to quickly and easily manipulate raw binary data. In the past, this had to be simulated by treating the raw data as a string and using the charCodeAt() method to read the bytes from the data buffer.
Code snippet Guide JavaScript JavaScript typed arrays js-ctypes MDN JavaScript Libraries Sample code Typed Arrays WebGL WebSockets