Commit 0d6c757b authored by Davis King's avatar Davis King

Added more comments

parent c26367a8
...@@ -59,6 +59,7 @@ ...@@ -59,6 +59,7 @@
- std::complex - std::complex
- dlib::uint64 - dlib::uint64
- dlib::int64 - dlib::int64
- float_details
- enumerable<T> where T is a serializable type - enumerable<T> where T is a serializable type
- map_pair<D,R> where D and R are both serializable types. - map_pair<D,R> where D and R are both serializable types.
- C style arrays of serializable types - C style arrays of serializable types
...@@ -75,6 +76,7 @@ ...@@ -75,6 +76,7 @@
- std::complex - std::complex
- dlib::uint64 - dlib::uint64
- dlib::int64 - dlib::int64
- float_details
- C style arrays of serializable types - C style arrays of serializable types
- Google protocol buffer objects. - Google protocol buffer objects.
...@@ -112,6 +114,10 @@ ...@@ -112,6 +114,10 @@
and tells you how many of the following bytes are part of the encoded and tells you how many of the following bytes are part of the encoded
number. number.
bool SERIALIZATION FORMAT
A bool value is serialized as the single byte character '1' or '0' in ASCII.
Where '1' indicates true and '0' indicates false.
FLOATING POINT SERIALIZATION FORMAT FLOATING POINT SERIALIZATION FORMAT
To serialize a floating point value we convert it into a float_details object and To serialize a floating point value we convert it into a float_details object and
then serialize the exponent and mantissa values using dlib's integral serialization then serialize the exponent and mantissa values using dlib's integral serialization
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment