ENet Class Library for C#
Packet.Resize Method
Resizes the packet.
[Visual Basic]
Public Sub Resize( _
ByVal
length
As
Integer
_
)
[C#]
public
void
Resize(
int
length
);
Parameters
length
The new packet length.
Exceptions
Exception Type
Condition
ArgumentOutOfRangeException
length
is negative.
InvalidOperationException
The packet is not initialized.
See Also
Packet Class
|
ENet Namespace