Encode/decode base64 data into ArrayBuffers
npm install base64-arraybuffer-es6Encode/decode base64 data into ArrayBuffers
An ES6 Modules-based port of base64-arraybuffer.
Also supports byteOffset and length arguments for partial encoding and
allows for selective import of the two methods.
Install the module with: npm install base64-arraybuffer-es6
The library encodes and decodes base64 to and from ArrayBuffers
- __encode(buffer, byteOffset, length)__ - Encodes ArrayBuffer into base64 string
- __decode(str [, ArrayBufferOptions])__ - Decodes base64 string to ArrayBuffer
Copyright (c) 2017-2019 Brett Zamir, 2012 Niklas von Hertzen
Licensed under the MIT license.