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:


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 404

Expand above chart