fast-base64-decode
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.0 • Public • Published

    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

    const base64Decode = require('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)

    Install

    npm i fast-base64-decode

    DownloadsWeekly Downloads

    619,052

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    2.46 kB

    Total Files

    4

    Last publish

    Collaborators

    • linusu