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.

23 lines
691 B

  1. # base64-arraybuffer
  2. [![Build Status](https://travis-ci.org/niklasvh/base64-arraybuffer.png)](https://travis-ci.org/niklasvh/base64-arraybuffer)
  3. Encode/decode base64 data into ArrayBuffers
  4. ## Getting Started
  5. Install the module with: `npm install base64-arraybuffer`
  6. ## API
  7. The library encodes and decodes base64 to and from ArrayBuffers
  8. - __encode(buffer)__ - Encodes `ArrayBuffer` into base64 string
  9. - __decode(str)__ - Decodes base64 string to `ArrayBuffer`
  10. ## Release History
  11. - 0.1.2 - Fix old format of typed arrays
  12. - 0.1.0 - Initial version, basic decode/encode base64 to and from ArrayBuffer
  13. ## License
  14. Copyright (c) 2012 Niklas von Hertzen
  15. Licensed under the MIT license.