Constructors
constructor
- new TextDecoder(encoding?: undefined | string, options?: undefined | object): TextDecoder
-
Parameters
-
Optional encoding: undefined | string
-
Optional options: undefined | object
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