# Class MasterObject()->Codec

Inheritance graph

Description

  Encoder and Decoder rolled into one. This is for mainly compatibility; there's typically no use combining encoding and decoding into the same object.

Inherit Decoder

  inherit Decoder : Decoder

Inherit Encoder

  inherit Encoder : Encoder

Method create

  `MasterObject.Codec MasterObject.Codec(void|mixed encoded)`

Description

  The optional argument is the thing to encode; it's passed on to Encoder.