Encoder and Decoder class

Issue #4 resolved
David Lucas repo owner created an issue

We propose to create Encoder and Decoder as objects, with :

Encoder class

  • encode() : Message Space -> Ambient Space
  • unencode() : Ambient Space -> Message Space (throws exception if input not in code, check can be optionally disabled)

Decode class

  • decode_to_code() : Ambient -> Ambient
  • decode_to_message() : Ambient -> Message

Comments (2)

  1. Log in to comment