You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

691 B

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.