Package Exports
- base64-arraybuffer
- base64-arraybuffer/dist/base64-arraybuffer.es5.js
- base64-arraybuffer/dist/base64-arraybuffer.umd.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (base64-arraybuffer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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.