fast-base64-decode
A fast Base64 decoder with a low level API. If you want a high level API, look at [base64-js](https://github.com/beatgammit/base64-js).
Last updated 4 years ago by linusu .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install fast-base64-decode 
SYNC missed versions from official npm registry.

Fast Base64 Decoding

A fast Base64 decoder with a low level API. If you want a high level API, look at base64-js.

Installation

npm install --save fast-base64-decode

Usage

import base64Decode from 'fast-base64-decode'

// You need to know the length of the decoded data
const result = new Uint8Array(13)

// Pass the string to decode, and a `UInt8Array` where the bytes will be written
base64Decode('SGVsbG8sIFdvcmxkIQ==', result)

Current Tags

  • 2.0.0                                ...           latest (4 years ago)

3 Versions

  • 2.0.0                                ...           4 years ago
  • 1.0.0                                ...           8 years ago
  • 0.0.1-security                                ...           8 years ago
Maintainers (1)
Downloads
Total 25
Today 0
This Week 1
This Month 5
Last Day 0
Last Week 0
Last Month 15
Dependencies (0)
None
Dev Dependencies (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE