mirror of
https://github.com/fraillt/bitsery.git
synced 2026-06-13 10:49:24 +00:00
2f8ae0075c0d646c19c5552854ba1b3e64734f1e
Bitsery
Header only C++ binary serialization library. It is designed around the networking requirements for real-time data delivery, especially for games.
All cross-platform requirements are enforced at compile time, so serialized data do not store any meta-data information and is as small as possible.
bitsery is looking for your feedback on gitter
Features
- Cross-platform compatible.
- Optimized for speed and space.
- No code generation required: no IDL or metadata, use your types directly.
- 2-in-1 declarative control flow, same code for serialization and deserialization.
- Provides forward/backward compatibility for your types.
- Allows fine-grained serialization control using advanced serialization techniques like value ranges, entrophy encoding etc...
- Extendable for types that requires different serialization and deserialization logic (e.g. pointers, or geometry compression).
- Configurable endianess support.
Why to use bitsery
Read more about the "why" in library motivation section.
How to use it
This documentation comprises these parts:
- Tutorial - getting started.
- Reference section - all the details.
Requirements
Platforms
This library was tested on
- Windows: Visual Studio 2015, MinGW (gcc 5.2)
- Linux: GCC 5.4, GCC 6.2, Clang 3.9
- OS X Mavericks: AppleClang 8
Languages
C++
98.5%
CMake
1.4%