Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • TextDecoder

Index

Constructors

Properties

Methods

Constructors

constructor

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

    • Optional encoding: string
    • Optional options: object
      • Optional fatal?: boolean
      • Optional ignoreBOM?: boolean

    Returns TextDecoder

Properties

encoding

encoding: string

fatal

fatal: boolean

ignoreBOM

ignoreBOM: boolean

Methods

decode

  • decode(input?: ArrayBufferView | ArrayBuffer | null, options?: object): string
  • Parameters

    • Optional input: ArrayBufferView | ArrayBuffer | null
    • Optional options: object
      • Optional stream?: boolean

    Returns string

Generated using TypeDoc