Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
bitsery/bitsery.h
✓ #include <bitsery/bitsery.h>
Serialize a struct to a buffer.
#include <bitsery/bitsery.h>
#include <bitsery/adapter/buffer.h>
#include <bitsery/traits/vector.h>
struct MyStruct { uint32_t x; };
template <typename S> void serialize(S &s, MyStruct &o) {
s.value4b(o.x);
}
int main() {
MyStruct data{42};
std::vector<uint8_t> buffer;
auto written = bitsery::quickSerialization<bitsery::OutputBufferAdapter<std::vector<uint8_t>>>(buffer, data);
return 0;
}
Debug
Known issues
No known issues recorded.
Audit
Dependencies
No dependency data recorded yet.
Resources
No resource links recorded.