Registry / serialization / alpaca

alpaca

JSON →
library0.2.1vcpkgunverified

Alpaca is a serialization library written in C++17 - Pack C++ structs into a compact byte-array without any macros or boilerplate code

vcpkg install alpaca
INSTALL
IMPORT
SIG · ALPACA
A
alpaca
serializationcppv0.2.1
harness data pending
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.

alpaca/alpaca.h
#include <alpaca/alpaca.h>

Serialize and deserialize a struct using alpaca

#include <alpaca/alpaca.h> #include <iostream> struct MyStruct { int x; float y; }; int main() { MyStruct s{42, 3.14f}; auto bytes = alpaca::serialize(s); auto [deserialized, err] = alpaca::deserialize<MyStruct>(bytes); std::cout << deserialized.x << ' ' << deserialized.y << '\n'; return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.1latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
47 hits · last 30 days
node
42
OpenAI (training)
1
Resources

No resource links recorded.

alpaca — pip install alpaca · libregistry