#ifndef CODEC_H
#define CODEC_H
class OCTETSTRING;
template<typename TPDU> class Codec {
 public:
  Codec(){}
  virtual int encode (const TPDU& msg, OCTETSTRING& data) = 0;
  virtual int decode (const OCTETSTRING& data, TPDU& msg) = 0;
};
  
#endif
