Make decode take unsigned char *input, unsigned int inputLength
diff --git a/ndn-cpp/encoding/WireFormat.hpp b/ndn-cpp/encoding/WireFormat.hpp
index 2c90c1b..2e56a2e 100644
--- a/ndn-cpp/encoding/WireFormat.hpp
+++ b/ndn-cpp/encoding/WireFormat.hpp
@@ -18,10 +18,10 @@
class WireFormat {
public:
virtual void encodeName(Name &name, std::vector<unsigned char> &output);
- virtual void decodeName(Name &name, std::vector<unsigned char> &input);
+ virtual void decodeName(Name &name, const unsigned char *input, unsigned int inputLength);
virtual void encodeInterest(Interest &interest, std::vector<unsigned char> &output);
- virtual void decodeInterest(Interest &interest, std::vector<unsigned char> &input);
+ virtual void decodeInterest(Interest &interest, const unsigned char *input, unsigned int inputLength);
// etc. for each type of object.
};