Packet.setData

Sets the ENetPacket's data.

class Packet
void
setData
(
ubyte[] data
)

Throws

ENetException if the packet is dirty (has been sent)

See Also

resize

Meta