class Encoding::Registry

Management of available encodings

class Encoding::Registry {}

Encoding::Registry is initialized with a list of encoding that is available for any Raku application, namely:

Methods

method name

method register(Encoding $enc --> Nil)

Register a new Encoding.

method find

method find(Str() $name)

Finds an encoding by its name. Returns an Encoding::Encoder or Encoding::Decoder, depending on what had been registered.

Type Graph

Type relations for Encoding::Registry
perl6-type-graph Encoding::Registry Encoding::Registry Any Any Encoding::Registry->Any Mu Mu Any->Mu

Expand above chart