#include "struct.h"
int main()
{
auto p = pack(0xABCDEF, 123.f, 99., 'c', "string");
auto tuple = unpack<int, float, double, char, std::string>(p);
return 0;
}
azurehaze21 / packetpacker Goto Github PK
View Code? Open in Web Editor NEWc++ implementation of python's struct module, kind of