yinchengnuo 56fc24cdb2 10-20 %!s(int64=4) %!d(string=hai) anos
..
lib 56fc24cdb2 10-20 %!s(int64=4) %!d(string=hai) anos
LICENSE-MIT 56fc24cdb2 10-20 %!s(int64=4) %!d(string=hai) anos
README.md 56fc24cdb2 10-20 %!s(int64=4) %!d(string=hai) anos
index.d.ts 56fc24cdb2 10-20 %!s(int64=4) %!d(string=hai) anos
package.json 56fc24cdb2 10-20 %!s(int64=4) %!d(string=hai) anos

README.md

base64-arraybuffer

Build Status NPM Downloads NPM Version

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.