Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TextDecoder

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

see

TextDecoder on MDN

Note: On Compute@Edge, TextDecoder only supports UTF-8 bytes as input, and always operates in non-fatal mode.

Hierarchy

  • TextDecoder

Constructors

Accessors

Methods

Constructors

Accessors

  • get encoding(): string
  • Returns string

Methods

  • decode(input?: ArrayBufferView | ArrayBuffer): string
  • Parameters

    • Optional input: ArrayBufferView | ArrayBuffer

    Returns string

Generated using TypeDoc