Packet.resize

Resizes the ENetPacket.

class Packet
void
resize
(
size_t dataLength
)

Throws

ENetException if the packet cannot be resized ENetException if the packet is dirty (has been sent)

Meta