mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-03 18:41:15 +08:00
Bug: none Change-Id: I438ea7b8e1c69e85939b1ed60578aa10fe87b821 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3598874 Commit-Queue: Jack Franklin <jacktfranklin@chromium.org> Auto-Submit: Jack Franklin <jacktfranklin@chromium.org> Reviewed-by: Simon Zünd <szuend@chromium.org> Commit-Queue: Simon Zünd <szuend@chromium.org>
base64-arraybuffer
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
ArrayBufferinto 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.