std::array<uint8_t, 68> genVector()
{
std::array<uint8_t, 68> res;
- for (size_t i = 0; i < 68; ++i)
+ for (size_t i = 0; i < res.size(); ++i)
res[i] = rand() % 256;
res[0] = (res[0] & 0xF0) | 0x05; // Fix header length
return res;
srand(time(NULL));
for (size_t i = 0; i < ITERATIONS; ++i)
{
- RAW_PACKET_OLD p1;
+ RawPacketOld p1;
STG::RawPacket p2;
STG::RawPacket p3;