You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The source code is quite self-explaining.
The code is properly working if the fixed-length econding is enable.
Linux - GCC v 14.1.1 - Current master branch.
Really scaring.
#include"alpaca/alpaca.h"structSimple {
uint32_t field {0};
};
intmain() {
Simple data {0x12345678};
std::vector<uint8_t> bytes;
auto size = alpaca::serialize(data, bytes);
std::error_code err;
auto reconstructed = alpaca::deserialize<Simple>(bytes, err);
assert(!err);
assert(reconstructed.field == data.field); // And here it dies.
}
The text was updated successfully, but these errors were encountered:
The source code is quite self-explaining.
The code is properly working if the fixed-length econding is enable.
Linux - GCC v 14.1.1 - Current
master
branch.Really scaring.
The text was updated successfully, but these errors were encountered: