• Encodes the provided string into bytes using the provided encoding scheme.

    Parameters

    • s: string

      The string to encode.

    • Optional encoding: string

      The encoding scheme. Defaults to utf-8.

    Returns Uint8Array

    Doc

Generated using TypeDoc