blob: df532e9f305bc90018502af116986ed59a1542de [file] [log] [blame]
/**
* @author: Jeff Thompson
* See COPYING for copyright and distribution information.
*/
#ifndef NDN_WIREFORMAT_HPP
#define NDN_WIREFORMAT_HPP
#include <vector>
namespace ndn {
class Interest;
class ContentObject;
class WireFormat {
public:
virtual void encodeInterest(const Interest &interest, std::vector<unsigned char> &output);
virtual void decodeInterest(Interest &interest, const unsigned char *input, unsigned int inputLength);
virtual void encodeContentObject(const ContentObject &contentObject, std::vector<unsigned char> &output);
virtual void decodeContentObject(ContentObject &contentObject, const unsigned char *input, unsigned int inputLength);
};
}
#endif