Factory

interface Factory<T : EncodingUtility> : ProxyInstantiable

Encoding Utility: Factory

Describes constructors available for encoders; this factory is used to enforce the API for a sub-interface's companion.

Inheritors

Functions

Link copied to clipboard
abstract fun create(): T

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

abstract fun create(encoding: Value?): T

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

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