Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

b3b

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

b3b

ArrayBuffer / Buffer / base64 convert util

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

b3b

buffer convert util

convert map

ArrayBuffer -------- Buffer
\                      /
 \                    /
   ----  base64  -----

api

  • 0
    • file:

      buffer convert util

    • author:

      junmer

    • description:

      ArrayBuffer / Buffer / base64 convert util

  • ab2b (alias: arrayBufferToBuffer )

    convert arrayBuffer to buffer

    • param: ab { ArrayBuffer }

      arrayBuffer

    • return: { buffer }

      buffer

  • b2ab (alias: bufferToArrayBuffer )

    convert buffer to arrayBuffer

    • param: buffer { buffer }

      buffer

    • return: { ArrayBuffer }

      arrayBuffer

  • a2b (alias: base64ToBuffer )

    convert base64 string to buffer

    • param: str { string }

      base64 string

    • return: { Buffer }

      buffer

  • b2a (alias: bufferToBase64 )

    convert buffer to base64 string

    • param: str { string|Buffer }

      string or buffer

    • return: { string }

      base64 string

  • b2b (alias: bytesToBase64 )

    convert arraybuffer to base64 string

    • param: ab { ArrayBuffer|Array }

      ArrayBuffer or Array

    • return: { string }

      base64 string

Keywords

FAQs

Package last updated on 27 Jan 2015

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc