name: More changes related to TLV encoding/decoding implementation

Change-Id: Ib1d7b2e7fdc57ac96b0193858f13e6b3297013d5
diff --git a/include/ndn-cpp/name.hpp b/include/ndn-cpp/name.hpp
index 00f6d21..d2c1afe 100644
--- a/include/ndn-cpp/name.hpp
+++ b/include/ndn-cpp/name.hpp
@@ -72,6 +72,11 @@
     {
     }
     
+    Component(const char *string)
+      : ConstBufferPtr (new Buffer(string, ::strlen(string)))
+    {
+    }
+
     const Buffer& 
     getValue() const { return **this; }
 
@@ -292,6 +297,9 @@
 
   const Block &
   wireEncode() const;
+
+  void
+  wireDecode(const Block &wire);
   
   /**
    * Parse the uri according to the NDN URI Scheme and set the name with the components.