create

open override fun create(): TextEncoder

Create

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

Return

The new instance.


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

Create with Label

Creates a new instance of the encoding utility with a specific named encoding.

Return

The new instance.

Parameters

encoding

The encoding to use.