add new serializer based on bitpacking

it has the important stuff, but still misses conviniences like buffers
and optimizations like varints.
only works for little endian but theoretically only needs endian
detection to be able to support bigendian
This commit is contained in:
2022-12-06 19:21:20 +01:00
committed by Erik Scholz
parent 8d24976a13
commit f27300a8fa
7 changed files with 987 additions and 0 deletions

View File

@ -0,0 +1,23 @@
cmake_minimum_required(VERSION 3.9 FATAL_ERROR)
project(s6zer CXX)
add_library(s6zer INTERFACE
#./src/s6zer/stream.hpp
#./src/s6zer/serialize.hpp
)
add_library(MM::s6zer ALIAS s6zer)
target_include_directories(s6zer INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/src")
target_compile_features(s6zer INTERFACE cxx_std_17)
#target_link_libraries(s6zer
#INTERFACE
#)
if (BUILD_TESTING)
add_subdirectory(test)
endif()