Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace utf8

Index

Functions

  • bytesToUtf8(bytes: Uint8Array): string
  • Decode bytes to utf-8 string.

    Parameters

    • bytes: Uint8Array

    Returns string

  • utf8ToBytes(s: string): Uint8Array
  • Encode utf-8 string to byte array

    Parameters

    • s: string

    Returns Uint8Array

Generated using TypeDoc