[whatwg] API for encoding/decoding ArrayBuffers into text
jsbell at chromium.org
Wed Mar 14 16:12:03 PDT 2012
On Wed, Mar 14, 2012 at 3:53 PM, Glenn Maynard <glenn at zewt.org> wrote:
> It's more than a naming problem. With this string API, one side of the
> conversion is always a DOMString. Base64 conversion wants
> ArrayBuffer<->ArrayBuffer conversions, so it would belong in a separate API.
Huh. The scenarios I've run across are Base64-encoded binary data islands
embedded in textual container formats like XML or JSON, which yield a
DOMString I want to decode into an ArrayBuffer.
More information about the whatwg