mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-05 11:31:31 +08:00
Updates Karma, Mocha and Sinon. R=jacktfranklin@chromium.org Bug: none Change-Id: Ia93cdafc646e4d3277e7ce869a7a8b5e66a13f0d Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3372928 Auto-Submit: Tim Van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org> Commit-Queue: Tim Van der Lippe <tvanderlippe@chromium.org>
28 lines
831 B
Markdown
28 lines
831 B
Markdown
# base64-arraybuffer
|
|
|
|

|
|
[](https://www.npmjs.org/package/base64-arraybuffer)
|
|
[](https://www.npmjs.org/package/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.
|