by codedokode · 1y ago · 0 comments
UserPacket packet;
stream >> packet;
That is at least one copy.I've also built some tooling on top that makes use of those functions to do zero-copy deserialisation where viable, so it is possible in the right scenarios with a bit of work but it definitely isn't going to always fit.