Registry / serialization / libnop

libnop

JSON →
library2021-11-03vcpkgunverified

libnop is a header-only library for serializing and deserializing C++ data types without external code generators or runtime support libraries

vcpkg install libnop
INSTALL
IMPORT
SIG · LIBNOP
L
libnop
serializationcppv2021-11-03
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.

nop/serializer.h
#include <nop/serializer.h>

Serialize a struct using libnop

#include <nop/serializer.h> #include <nop/structure.h> #include <iostream> struct MyData { int x; float y; NOP_STRUCTURE(MyData, x, y); }; int main() { MyData data{42, 3.14f}; nop::Serializer<nop::StreamWriter<std::string>> serializer; auto result = serializer.Serialize(data); if (result) { std::cout << "Serialized size: " << serializer.writer().size() << std::endl; } return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2021-11-03latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources

No resource links recorded.

libnop — pip install libnop · libregistry