Easier ArrayBuffer - String conversion with the Encoding API

added by JavaScript Kicks
9/11/2014 2:30:23 PM

673 Views

Over two years ago, Renato Mangini described a method for converting between raw ArrayBuffers and the corresponding string representation of that data. At the end of the post, Renato mentioned that an official standardized API to handle the conversion was in the process of being drafted. The specification has now matured, and both Firefox and Google Chrome have added native support for the TextDecoder and TextEncoder interfaces.


0 comments