bitsery
bitsery copied to clipboard
Your binary serialization library
Hi Does this use dynamic allocation? I'd like to use on an arduino. Thanks
two insights seen when resizing buffers... 1) when inserting an object much larger than the current buffer size, the current implementation will loop many times until the buffer grows large...
i'm trying to serialize a vector of string pointers for the first time... ``` class Contact { public: String name; std::vector bits; }; template static void serialize(S& s, Contact& contact)...
I'm using capnp which is fast but just like everybody else I'm always looking for a faster library. I'm curious why capnp is not on the current benchmark list?
thoughts on renaming size to remainingCapacity? because it really requests remainingCapacity not size. just debugged an infinite loop where i'd implemented these as size when really the intention was remainingCapacity.
not sure if you've heard about io_uring on Linux but it basically allows for syscall-less asynchronous operations and IO through the kernel. It's incredibly fast. I can show you a...
you have text1b(), which would be the closest thing to char array support, though generic heap arrays arent supported at all, not even an option like ```cpp s.ext(ObjectPtr, PointerOwner{PointerType::NotNull}, ObjectCount);...
I have an issue while deserializing a file with different `PolymorphicContext`. I have a custom `PolymorphicContext` build using the `registerSingleBaseBanch` method, let's call it `PC_A`. I save a file using...