Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TextEncoder

TextEncoder takes a stream of code points as input and emits a stream of UTF-8 bytes

Hierarchy

  • TextEncoder

Constructors

Accessors

Methods

Constructors

Accessors

  • get encoding(): string
  • Returns string

Methods

  • encode(input?: string): Uint8Array
  • Parameters

    • Optional input: string

    Returns Uint8Array

Generated using TypeDoc