Options
All
  • Public
  • Public/Protected
  • All
Menu

uint8-base64

Index

Functions

Functions

decode

  • decode(input: Uint8Array): Uint8Array
  • Convert a Uint8Array containing a base64 encoded bytes to a Uint8Array containing decoded values

    Parameters

    • input: Uint8Array

    Returns Uint8Array

    a Uint8Array containing the decoded bytes

encode

  • encode(input: Uint8Array): Uint8Array
  • Convert a Uint8Array containing bytes to a Uint8Array containing the base64 encoded values

    Parameters

    • input: Uint8Array

    Returns Uint8Array

    a Uint8Array containing the encoded bytes