Copies part of the packet data into an array.
Exception Type | Condition |
---|---|
ArgumentNullException | array is null. |
ArgumentOutOfRangeException | arrayIndex and/or count are out of range. |
InvalidOperationException | The packet is not initialized. |
Packet Class | ENet Namespace | Packet.CopyTo Overload List