ENet Class Library for C#

Host.CompressWithRangeEncoder Method

Enables compression using the range encoder.

[Visual Basic]
Public Sub CompressWithRangeEncoder()
[C#]
public void CompressWithRangeEncoder();

Exceptions

Exception Type Condition
InvalidOperationException The host is not initialized.
ENetException Failed to create range encoder. This is likely due to low memory.

See Also

Host Class | ENet Namespace