base64-arraybuffer

Encode/decode base64 data into ArrayBuffers

npm install base64-arraybuffer
165 downloads in the last day
1 216 downloads in the last week
6 434 downloads in the last month

base64-arraybuffer

Build Status

Encode/decode base64 data into ArrayBuffers

Getting Started

Install the module with: npm install base64-arraybuffer

API

The library encodes and decodes base64 to and from ArrayBuffers

  • encode(buffer) - Encodes ArrayBuffer into base64 string
  • decode(str) - Decodes base64 string to ArrayBuffer

Release History

  • 0.1.2 - Fix old format of typed arrays
  • 0.1.0 - Initial version, basic decode/encode base64 to and from ArrayBuffer

License

Copyright (c) 2012 Niklas von Hertzen Licensed under the MIT license.

npm loves you