base64-arraybuffer-es6

Encode/decode base64 data into ArrayBuffers

MIT 16 个版本
安装
npm install base64-arraybuffer-es6
yarn add base64-arraybuffer-es6
pnpm add base64-arraybuffer-es6
bun add base64-arraybuffer-es6
README

base64-arraybuffer-es6

Encode/decode base64 data into ArrayBuffers

An ES6 Modules-based port of base64-arraybuffer.

Also supports byteOffset and length arguments for partial encoding and allows for selective import of the two methods.

Getting Started

Install the module with: npm install base64-arraybuffer-es6

API

The library encodes and decodes base64 to and from ArrayBuffers

  • encode(buffer, byteOffset, length) - Encodes ArrayBuffer into base64 string
  • decode(str [, ArrayBufferOptions]) - Decodes base64 string to ArrayBuffer

License

Copyright (c) 2017-2019 Brett Zamir, 2012 Niklas von Hertzen Licensed under the MIT license.

版本列表
3.1.0 2023-12-16
3.0.1 2023-05-06
3.0.0 2023-05-05
2.0.1 2023-04-26
2.0.0 2023-04-26
1.0.0 2022-02-17
0.7.0 2021-02-27
0.6.0 2020-05-10
0.5.0 2019-06-04
0.4.2 2018-11-06
0.4.1 2018-10-29
0.4.0 2018-10-29
0.3.1 2017-12-09
0.3.0 2017-12-09
0.2.0 2017-12-08
0.1.0 2017-12-06