create

abstract fun create(label: String): TextDecoder

Create with Label

Creates a new instance of the encoding utility without any parameters.

Return

The new instance.


open override fun create(encoding: Value?): TextDecoder

Create with Label

Creates a new instance of the encoding utility without any parameters.

Return

The new instance.

Parameters

encoding

Encoding to use, as a valid JavaScript encoding "label" (name)


abstract fun create(label: String, options: TextDecoder.Options): TextDecoder
open fun create(label: Value?, options: Value?): TextDecoder

Create with Options

Creates a new instance of the encoding utility without any parameters.

Return

The new instance.