Initializes a new packet from data, of the given length.
Exception Type | Condition |
---|---|
InvalidOperationException | The packet is already initialized. |
ENetException | Packet creation failed. |
Packet Class | ENet Namespace | Packet.Initialize Overload List