Socket
Socket
Sign inDemoInstall

@protobufjs/base64

Package Overview
Dependencies
0
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @protobufjs/base64

A minimal base64 implementation for number arrays.


Version published
Weekly downloads
12M
increased by2.83%
Maintainers
2
Install size
10.0 kB
Created
Weekly downloads
 

Readme

Source

@protobufjs/base64

npm

A minimal base64 implementation for number arrays.

API

  • base64.length(string: string): number
    Calculates the byte length of a base64 encoded string.

  • base64.encode(buffer: Uint8Array, start: number, end: number): string
    Encodes a buffer to a base64 encoded string.

  • base64.decode(string: string, buffer: Uint8Array, offset: number): number
    Decodes a base64 encoded string to a buffer.

License: BSD 3-Clause License

FAQs

Last updated on 09 Jun 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc