Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

  • bytesToString(bytes: null | Uint8Array): string | null
  • Decode an UTF-8 encoded Uint8Array into a string.

    Parameters

    • bytes: null | Uint8Array

      array to decode

    Returns string | null

  • stringToBytes(s: string): Uint8Array
  • Convert a given string into a Uint8Array encoded as UTF-8.

    Parameters

    • s: string

      data to encode

    Returns Uint8Array

Generated using TypeDoc