ENet Class Library for C#
Packet.CopyTo(Byte) Method
Copies the packet data into an array.
[Visual Basic]
Public Overloads Sub CopyTo( _
ByVal
array
As
Byte
_
)
[C#]
public
void
CopyTo(
byte
[]
array
);
Parameters
array
The array to copy into.
Exceptions
Exception Type
Condition
ArgumentNullException
array
is null.
InvalidOperationException
The packet is not initialized.
See Also
Packet Class
|
ENet Namespace
|
Packet.CopyTo Overload List