ASN1RecodePer.hh 557 Bytes
Newer Older
#ifndef ASN1RECODEPER_H
#define ASN1RECODEPER_H

#include "Params.hh"

class OCTETSTRING;
class CHARSTRING;
class BITSTRING;
class TTCN_Buffer;
class TTCN_EncDec;
class TTCN_Typedescriptor_t;

struct asn_TYPE_descriptor_s;

class ASN1RecodePer // FIXME Move into file ASN1RecodePer.hh
{
protected:
  int ber2per (const asn_TYPE_descriptor_s & td, TTCN_Buffer & buf);
  int per2ber (const asn_TYPE_descriptor_s & td, TTCN_Buffer & buf);
  int recode  (const asn_TYPE_descriptor_s & td, int from, int to, TTCN_Buffer & buf);
};

#endif