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.

20 lines
792 B

8 years ago
  1. # base64-arraybuffer
  2. [![Build Status](https://travis-ci.org/niklasvh/base64-arraybuffer.png)](https://travis-ci.org/niklasvh/base64-arraybuffer)
  3. [![NPM Downloads](https://img.shields.io/npm/dm/base64-arraybuffer.svg)](https://www.npmjs.org/package/base64-arraybuffer)
  4. [![NPM Version](https://img.shields.io/npm/v/base64-arraybuffer.svg)](https://www.npmjs.org/package/base64-arraybuffer)
  5. Encode/decode base64 data into ArrayBuffers
  6. ## Getting Started
  7. Install the module with: `npm install base64-arraybuffer`
  8. ## API
  9. The library encodes and decodes base64 to and from ArrayBuffers
  10. - __encode(buffer)__ - Encodes `ArrayBuffer` into base64 string
  11. - __decode(str)__ - Decodes base64 string to `ArrayBuffer`
  12. ## License
  13. Copyright (c) 2012 Niklas von Hertzen
  14. Licensed under the MIT license.