Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
0d6c757b
Commit
0d6c757b
authored
Apr 20, 2013
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added more comments
parent
c26367a8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
serialize.h
dlib/serialize.h
+6
-0
No files found.
dlib/serialize.h
View file @
0d6c757b
...
...
@@ -59,6 +59,7 @@
- std::complex
- dlib::uint64
- dlib::int64
- float_details
- enumerable<T> where T is a serializable type
- map_pair<D,R> where D and R are both serializable types.
- C style arrays of serializable types
...
...
@@ -75,6 +76,7 @@
- std::complex
- dlib::uint64
- dlib::int64
- float_details
- C style arrays of serializable types
- Google protocol buffer objects.
...
...
@@ -112,6 +114,10 @@
and tells you how many of the following bytes are part of the encoded
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
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
...
...
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