Function utf8ToBin

  • Interpret a string as UTF-8 and encode it as a Uint8Array.

    For the reverse, see binToUtf8.

    Parameters

    • utf8: string

      the string to encode

    Returns Uint8Array

Generated using TypeDoc