codecs

codecs extends the String class to add encoding/decoding functionality.

methods



instance methods of String

codecs

There are currently 2 codecs available:


To add your own codec simply extend the String class with a method "decode_CodecName" and "encode_CodecName"
where CodecName is the name of your codec.
calling "someString".encode(yourCodecName) will call that codec method and pass all additional parameters passed to encode/decode to that method.