EncodingUtility

interface EncodingUtility : ProxyObject

Encoding Utility

Base interface, used in an abstract capacity for methods shared by TextEncoder and TextDecoder; this symbol is not installed in the guest context.

See also

the TextEncoder interface

the TextDecoder interface

Inheritors

Types

Link copied to clipboard
interface Factory<T : EncodingUtility> : ProxyInstantiable

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

Properties

Link copied to clipboard
abstract val encoding: String

Specifies the encoding implemented by this utility instance.

Functions

Link copied to clipboard
abstract fun getMember(key: String): Any
Link copied to clipboard
abstract fun getMemberKeys(): Any
Link copied to clipboard
abstract fun hasMember(key: String): Boolean
Link copied to clipboard
abstract fun putMember(key: String, value: Value)
Link copied to clipboard
open fun removeMember(key: String): Boolean