blob: e6d7c8a6ad1e82a3f2fac386c0b760495ccdf4cc [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 Thompson1f3f5172013-07-01 19:02:36 -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