docs: Updating doxygen comments and minor update to normalize API

Change-Id: I24686acc36f372ee2eddffaaa6c104f964ceeca4
Refs: #1299
diff --git a/src/encoding/block-helpers.hpp b/src/encoding/block-helpers.hpp
index f8e9c11..317cd13 100644
--- a/src/encoding/block-helpers.hpp
+++ b/src/encoding/block-helpers.hpp
@@ -62,6 +62,22 @@
   return dataBlock(type, reinterpret_cast<const char*>(data), dataSize);
 }
 
+template<class InputIterator>
+inline Block
+dataBlock(uint32_t type, InputIterator first, InputIterator last)
+{
+  size_t dataSize = 0;
+  for (InputIterator i = first; i != last; i++)
+    ++dataSize;
+
+  OBufferStream os;
+  Tlv::writeVarNumber(os, type);
+  Tlv::writeVarNumber(os, dataSize);
+  std::copy(first, last, std::ostream_iterator<uint8_t>(os));
+
+  return Block(os.buf());
+}
+
 } // namespace ndn
 
 #endif // NDN_BLOCK_HELPERS_HPP
diff --git a/src/encoding/tlv.hpp b/src/encoding/tlv.hpp
index ce35906..594cdce 100644
--- a/src/encoding/tlv.hpp
+++ b/src/encoding/tlv.hpp
@@ -97,7 +97,7 @@
  *
  * @param [in]  begin  Begin (pointer or iterator) of the buffer
  * @param [in]  end    End (pointer or iterator) of the buffer
- * @param [out] number Read type number
+ * @param [out] type   Read type number
  *
  * @throws This call never throws exception
  *