Make decode take unsigned char *input, unsigned int inputLength
diff --git a/ndn-cpp/encoding/WireFormat.cpp b/ndn-cpp/encoding/WireFormat.cpp
index a66abb0..f9694f5 100644
--- a/ndn-cpp/encoding/WireFormat.cpp
+++ b/ndn-cpp/encoding/WireFormat.cpp
@@ -15,7 +15,7 @@
{
throw logic_error("unimplemented");
}
-void WireFormat::decodeName(Name &name, vector<unsigned char> &input)
+void WireFormat::decodeName(Name &name, const unsigned char *input, unsigned int inputLength)
{
throw logic_error("unimplemented");
}
@@ -24,7 +24,7 @@
{
throw logic_error("unimplemented");
}
-void WireFormat::decodeInterest(Interest &interest, vector<unsigned char> &input)
+void WireFormat::decodeInterest(Interest &interest, const unsigned char *input, unsigned int inputLength)
{
throw logic_error("unimplemented");
}