Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
0d6c757b
Commit
0d6c757b
authored
Apr 20, 2013
by
Davis King
Browse files
Added more comments
parent
c26367a8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
dlib/serialize.h
dlib/serialize.h
+6
-0
No files found.
dlib/serialize.h
View file @
0d6c757b
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment