21 lines
792 B
Markdown
Executable File
21 lines
792 B
Markdown
Executable File
# base64-arraybuffer
|
|
|
|
[](https://travis-ci.org/niklasvh/base64-arraybuffer)
|
|
[](https://www.npmjs.org/package/base64-arraybuffer)
|
|
[](https://www.npmjs.org/package/base64-arraybuffer)
|
|
|
|
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`
|
|
|
|
## License
|
|
Copyright (c) 2012 Niklas von Hertzen
|
|
Licensed under the MIT license.
|