Companion

object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard

returns a list of all available codec names

Link copied to clipboard
fun forName(name: String): Codec

looks up a codec by name

Link copied to clipboard
fun register(codec: Codec)

Register a codec instance for lookup by name.

Link copied to clipboard
fun reloadCodecs(classloader: ClassLoader)

Reloads the codec list from the given ClassLoader. Changes to the codecs are visible after the method ends, all iterators (.availableCodecs,...) stay consistent.