Copies part of the packet data into an array.
ICollection<byte>.CopyTo
Exception Type | Condition |
---|---|
ArgumentNullException | array is null. |
ArgumentOutOfRangeException | arrayIndex is out of range. |
InvalidOperationException | The packet is not initialized. |
Packet Class | ENet Namespace | Packet.CopyTo Overload List