bitsery/5.2.3

Header only C++ binary serialization library. It is designed around the networking requirements for real-time data delivery, especially for games.
Recipe info
2022-12-22

Available packages
Header Only

Install
Add the following line to your conanfile.txt:
[requires]
bitsery/5.2.3

Using bitsery

Note

If you are new with Conan, we recommend to read the section how to consume packages.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
bitsery/5.2.3
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("bitsery/5.2.3")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): Bitsery
  • CMake target name(s): Bitsery::bitsery
  • bitserylib => Bitsery::bitsery
    
  • pkg-config file name(s): bitsery.pc
  • bitserylib => bitsery-bitserylib.pc
    

A simple use case using the CMake file name and the global target:

# ...
find_package(Bitsery REQUIRED)
# ...
target_link_libraries(YOUR_TARGET Bitsery::bitsery)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the bitsery homepage listed above:

#include "bitsery/adapter/buffer.h"
#include "bitsery/adapter/measure_size.h"
#include "bitsery/adapter/stream.h"
#include "bitsery/bitsery.h"
#include "bitsery/brief_syntax.h"
#include "bitsery/brief_syntax/array.h"
#include "bitsery/brief_syntax/atomic.h"
#include "bitsery/brief_syntax/chrono.h"
#include "bitsery/brief_syntax/deque.h"
#include "bitsery/brief_syntax/forward_list.h"
#include "bitsery/brief_syntax/list.h"
#include "bitsery/brief_syntax/map.h"
#include "bitsery/brief_syntax/memory.h"
#include "bitsery/brief_syntax/queue.h"
#include "bitsery/brief_syntax/set.h"
#include "bitsery/brief_syntax/stack.h"
#include "bitsery/brief_syntax/string.h"
#include "bitsery/brief_syntax/tuple.h"
#include "bitsery/brief_syntax/unordered_map.h"
#include "bitsery/brief_syntax/unordered_set.h"
#include "bitsery/brief_syntax/variant.h"
#include "bitsery/brief_syntax/vector.h"
#include "bitsery/common.h"
#include "bitsery/deserializer.h"
#include "bitsery/details/adapter_bit_packing.h"
#include "bitsery/details/adapter_common.h"
#include "bitsery/details/brief_syntax_common.h"
#include "bitsery/details/not_defined_type.h"
#include "bitsery/details/serialization_common.h"
#include "bitsery/ext/compact_value.h"
#include "bitsery/ext/entropy.h"
#include "bitsery/ext/growable.h"
#include "bitsery/ext/inheritance.h"
#include "bitsery/ext/pointer.h"
#include "bitsery/ext/std_atomic.h"
#include "bitsery/ext/std_bitset.h"
#include "bitsery/ext/std_chrono.h"
#include "bitsery/ext/std_map.h"
#include "bitsery/ext/std_optional.h"
#include "bitsery/ext/std_queue.h"
#include "bitsery/ext/std_set.h"
#include "bitsery/ext/std_smart_ptr.h"
#include "bitsery/ext/std_stack.h"
#include "bitsery/ext/std_tuple.h"
#include "bitsery/ext/std_variant.h"
#include "bitsery/ext/utils/composite_type_overloads.h"
#include "bitsery/ext/utils/memory_resource.h"
#include "bitsery/ext/utils/pointer_utils.h"
#include "bitsery/ext/utils/polymorphism_utils.h"
#include "bitsery/ext/utils/rtti_utils.h"
#include "bitsery/ext/value_range.h"
#include "bitsery/serializer.h"
#include "bitsery/traits/array.h"
#include "bitsery/traits/core/std_defaults.h"
#include "bitsery/traits/core/traits.h"
#include "bitsery/traits/deque.h"
#include "bitsery/traits/forward_list.h"
#include "bitsery/traits/list.h"
#include "bitsery/traits/string.h"
#include "bitsery/traits/vector.h"