You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by al...@apache.org on 2019/07/25 19:53:01 UTC

[incubator-datasketches-cpp] 02/02: slightly better comment

This is an automated email from the ASF dual-hosted git repository.

alsay pushed a commit to branch kll_no_default_construction
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-cpp.git

commit 64fc63c107991cc58eb469aeb36b006b53266b09
Author: AlexanderSaydakov <Al...@users.noreply.github.com>
AuthorDate: Thu Jul 25 12:52:15 2019 -0700

    slightly better comment
---
 common/include/serde.hpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/common/include/serde.hpp b/common/include/serde.hpp
index 1e27acd..16f250e 100644
--- a/common/include/serde.hpp
+++ b/common/include/serde.hpp
@@ -27,10 +27,11 @@ namespace datasketches {
 
 // serialize and deserialize
 template<typename T, typename Enable = void> struct serde {
-  // stream
+  // stream serialization
   void serialize(std::ostream& os, const T* items, unsigned num);
   void deserialize(std::istream& is, T* items, unsigned num); // items are not initialized
-  // raw bytes
+
+  // raw bytes serialization
   size_t size_of_item(const T& item);
   size_t serialize(char* ptr, const T* items, unsigned num);
   size_t deserialize(const char* ptr, T* items, unsigned num); // items are not initialized


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org