#ifndef BTPCODEC_H
#define BTPCODEC_H
#include "BTPTypes.h"
#include "Codec.h"

class BTPACodec : public Codec<BTPA> {
  virtual int encode (const BTPA& msg, OCTETSTRING& data);
  virtual int decode (const OCTETSTRING& data, BTPA& msg);
};

class BTPBCodec : public Codec<BTPB> {
  virtual int encode (const BTPB& msg, OCTETSTRING& data);
  virtual int decode (const OCTETSTRING& data, BTPB& msg);
};

#endif
