Crypto Edge
    Preparing search index...

    Class TextEncoderPolyfill

    Minimal UTF-8 TextEncoder polyfill.

    Encodes a JavaScript string into a UTF-8 Uint8Array. Handles the full BMP and supplementary planes (surrogate pairs).

    Index
    encoding: "utf-8"

    The encoding used by this encoder, always "utf-8".

    • Encode a string into a UTF-8 Uint8Array.

      Parameters

      • input: string

      Returns Uint8Array