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