Factory

Text Decoder Factory

Models constructor methods for TextDecoder instances; such objects can be constructed with no parameters, with an optional "label" (the encoding to decode from), and a set of options.

Inheritors

Functions

Link copied to clipboard
abstract fun create(): TextDecoder
abstract fun create(label: String): TextDecoder
open override fun create(encoding: Value?): TextDecoder
abstract fun create(label: String, options: TextDecoder.Options): TextDecoder
open fun create(label: Value?, options: Value?): TextDecoder

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

Link copied to clipboard
open override fun newInstance(vararg arguments: Value?): Any