ENet Class Library for C#

ENetCompressor.compress_cb Delegate

[Visual Basic]
<UnmanagedFunctionPointer(CharSet:=CharSet.0, BestFitMapping:=False, ThrowOnUnmappableChar:=False, SetLastError:=False, CallingConvention:=CallingConvention.Cdecl)> _
Public Delegate Function compress_cb( _
   ByVal context As IntPtr, _
   ByVal inBuffers As IntPtr, _
   ByVal inBufferCount As IntPtr, _
   ByVal inLimit As IntPtr, _
   ByVal outData As IntPtr, _
   ByVal outLimit As IntPtr _
)
[C#]
[UnmanagedFunctionPointer(CharSet=CharSet.0, BestFitMapping=False, ThrowOnUnmappableChar=False, SetLastError=False, CallingConvention=CallingConvention.Cdecl)]
public delegate IntPtr compress_cb(
   IntPtr context,
   IntPtr inBuffers,
   IntPtr inBufferCount,
   IntPtr inLimit,
   IntPtr outData,
   IntPtr outLimit
);

Requirements

Namespace: ENet.Native

Assembly: ENet (in ENet.dll)

See Also

ENet.Native Namespace