Hierarchy

  • TextDecoder

Constructors

Properties

Methods

Constructors

  • Parameters

    • label: string = 'utf-8'
    • options: {
          fatal?: boolean;
          ignoreBOM?: boolean;
      } = {}
      • Optional fatal?: boolean
      • Optional ignoreBOM?: boolean

    Returns TextDecoder

Properties

encoding: "utf-8" = 'utf-8'
fatal: boolean
ignoreBOM: boolean

Methods

  • Parameters

    • Optional input: ArrayBuffer | ArrayBufferView
    • options: {
          stream?: boolean;
      } = {}
      • Optional stream?: boolean

    Returns string