Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • TextDecoder

Index

Constructors

Properties

Methods

Constructors

constructor

  • new TextDecoder(encoding?: undefined | string, options?: undefined | object): TextDecoder
  • Parameters

    • Optional encoding: undefined | string
    • Optional options: undefined | object

    Returns TextDecoder

Properties

encoding

encoding: string

fatal

fatal: boolean

ignoreBOM

ignoreBOM: boolean

Methods

decode

  • decode(input?: TypedArray | DataView | ArrayBuffer | null, options?: undefined | object): string
  • Parameters

    • Optional input: TypedArray | DataView | ArrayBuffer | null
    • Optional options: undefined | object

    Returns string

Generated using TypeDoc