Internal: Use C struct ndn_Blob where possible. Make ndn::Blob work with ndn_Blob.
diff --git a/ndn-cpp/name.hpp b/ndn-cpp/name.hpp
index 0fe7284..d589c89 100644
--- a/ndn-cpp/name.hpp
+++ b/ndn-cpp/name.hpp
@@ -68,11 +68,7 @@
     void 
     get(struct ndn_NameComponent& componentStruct) const 
     {
-      componentStruct.valueLength = value_.size(); 
-      if (value_.size() > 0)
-        componentStruct.value = (uint8_t*)value_.buf();
-      else
-        componentStruct.value = 0;
+      value_.get(componentStruct.value);
     }
   
     const Blob&