Options
All
  • Public
  • Public/Protected
  • All
Menu

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

Index

Constructors

Accessors

Methods

Constructors

constructor

Accessors

encoding

  • get encoding(): string
  • Returns string

Methods

decode

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

    • Optional input: ArrayBuffer | ArrayBufferView

    Returns string

Legend

  • Constructor
  • Property
  • Method
  • Accessor
  • Property
  • Method

Generated using TypeDoc