tree: 7dc17913fa26e1743e5a984f0263a068f8228b9c [path history] [tgz]
  1. dist/
  2. LICENSE
  3. package.json
  4. README.md
node_modules/@socket.io/base64-arraybuffer/README.md

base64-arraybuffer

CI NPM Downloads NPM Version

Forked from https://github.com/niklasvh/base64-arraybuffer

Encode/decode base64 data into ArrayBuffers

Installing

You can install the module via npm:

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

Testing

You can run the test suite with:

npm test

License

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