EncodingScheme.register

Registers a subclass of EncodingScheme.

This function allows user-defined subclasses of EncodingScheme to be declared in other modules.

class EncodingScheme
static
void
register
()
()

Parameters

Klass

The subclass of EncodingScheme to register.

Examples

class Amiga1251 : EncodingScheme
{
    shared static this()
    {
        EncodingScheme.register!Amiga1251;
    }
}

Meta