YingXingAI/node_modules/base64-arraybuffer
JiXinHui e62f1123b4 删除不需要页面 2025-06-30 15:52:56 +08:00
..
dist 删除不需要页面 2025-06-30 15:52:56 +08:00
CHANGELOG.md 删除不需要页面 2025-06-30 15:52:56 +08:00
LICENSE 删除不需要页面 2025-06-30 15:52:56 +08:00
README.md 删除不需要页面 2025-06-30 15:52:56 +08:00
package.json 删除不需要页面 2025-06-30 15:52:56 +08:00
rollup.config.ts 删除不需要页面 2025-06-30 15:52:56 +08:00

README.md

base64-arraybuffer

CI NPM Downloads NPM Version

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.