blob: 46f0d21d0ec6077c1e4504609bc5d488f799ee5c [file] [log] [blame]
Jeff Thompson9c41dfe2013-06-27 12:10:25 -07001/*
2 * Author: Jeff Thompson
3 *
4 * BSD license, See the LICENSE file for more information.
5 */
6
7
8#ifndef NDN_BINARYXMLWIREFORMAT_HPP
9#define NDN_BINARYXMLWIREFORMAT_HPP
10
11#include "WireFormat.hpp"
12
13namespace ndn {
14
15class BinaryXMLWireFormat : public WireFormat {
16public:
Jeff Thompson98848832013-06-28 12:50:00 -070017 //virtual void encodeName(Name &name, std::vector<unsigned char> &output);
Jeff Thompson42380712013-06-28 10:59:33 -070018 virtual void decodeName(Name &name, const unsigned char *input, unsigned int inputLength);
Jeff Thompson9c41dfe2013-06-27 12:10:25 -070019
Jeff Thompson98848832013-06-28 12:50:00 -070020 //virtual void encodeInterest(Interest &interest, std::vector<unsigned char> &output);
21 //virtual void decodeInterest(Interest &interest, const unsigned char *input, unsigned int inputLength);
Jeff Thompson9c41dfe2013-06-27 12:10:25 -070022
23 static BinaryXMLWireFormat &instance() { return instance_; }
24
25private:
26 static BinaryXMLWireFormat instance_;
27};
28
29}
30
31#endif
32