mati1297 / tp3_taller1

0 stars 0 forks source link

Accede al buffer directo, es mas facil #6

Open eldipa opened 2 years ago

eldipa commented 2 years ago

https://github.com/mati1297/tp3_taller1/blob/02f1d76d47703c8b2a0c49a804182b66072cf47c/common_packet.cpp#L39-L45

out = *(uint16_t*) (array.data() + read_);
read_ += 2;