Options
All
  • Public
  • Public/Protected
  • All
Menu

@stacks/common

Common utilities used by Stacks.js packages.

Installation

npm install @stacks/common

Index

Enumerations

Interfaces

Variables

Functions

Variables

Const Buffer

Buffer: typeof NodeJSBuffer = ...

Functions

getBase64OutputLength

  • getBase64OutputLength(inputByteLength: number): number
  • Calculate the base64 encoded string length for a given input length. This is equivalent to the byte length when the string is ASCII or UTF8-8 encoded.

    Parameters

    • inputByteLength: number

    Returns number

Generated using TypeDoc