reloadCodecs

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.

NOTE: Only new codecs are added, existing ones are never removed or replaced.

This method is expensive and should only be called for discovery of new codecs on the given classpath/classloader!