You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-2
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Binary Serialize, Header-Only C++ 20 Binary Serialization Classes and Functions
1
+
# Binary Serialize, Header-Only C++ 20 Binary Serialization Classes and Functions Using a `std::format` Like Syntax
2
2
3
3
#### Unit Test and Documentation Generation Workflow Status
4
4
@@ -14,10 +14,20 @@
14
14
15
15
## Overview
16
16
17
-
The `binary_serialize` functions and classes provide serializing and unserializing of binary data. Serialization provides a way to transform application objects into and out of byte streams that can be sent over a network (or used for file IO).
17
+
The `binary_serialize` functions and classes provide serializing and unserializing of binary data. Serialization provides a way to transform application objects into and out of byte streams that can be sent over a network (or used for file IO). Many serialization libraries transform objects to and from text representations, but this library keeps data in binary formats.
18
18
19
19
The serialization functionality in this repository is useful when explicit control is needed for every bit and byte. This allows a developer to match an existing wire protocol or encoding scheme or to define his or her own wire protocol. Support is provided for fundamental arithmetic types as well as certain C++ vocabulary types such as `std::optional`. Both big and little endian support is provided.
20
20
21
+
This library uses `std::format` style formatting. For example:
22
+
23
+
```
24
+
(insert example code)
25
+
```
26
+
27
+
The documentation overview provides a comparison with other serialization libraries as well as a rationale for the design decisions.
28
+
29
+
Inspiration and thanks go to [Louis Langholtz](https://github.com/louis-langholtz), who steered me towards considering the `std::format` API.
30
+
21
31
## Generated Documentation
22
32
23
33
The generated Doxygen documentation for `binary_serialize` is [here](https://connectivecpp.github.io/binary-serialize/).
0 commit comments