 | CustomPacketDecryptHandler Delegate |
Decrypts incoming data
Namespace:
TeamSpeak.Sdk.Client
Assembly:
TeamSpeak.Sdk (in TeamSpeak.Sdk.dll) Version: 0.1.6124.20226 (0.1.0.0)
Syntaxpublic delegate void CustomPacketDecryptHandler(
ref IntPtr dataReceived,
ref uint dataReceivedSize
)
Public Delegate Sub CustomPacketDecryptHandler (
ByRef dataReceived As IntPtr,
ByRef dataReceivedSize As UInteger
)
public delegate void CustomPacketDecryptHandler(
IntPtr% dataReceived,
unsigned int% dataReceivedSize
)
type CustomPacketDecryptHandler =
delegate of
dataReceived : IntPtr byref *
dataReceivedSize : uint32 byref -> unit
Parameters
- dataReceived
- Type: SystemIntPtr
An array with the received data to be decrypted. Apply your custom decryption to the data array.If the decrypted data is smaller than dataReceivedSize, write your decrypted data into the existing memory of dataReceived. If your decrypted data is larger, you need to allocate memory and change dataReceived. You need to take care of freeing your own allocated memory yourself. The memory allocated by the SDK, to which dataReceived is originally pointing to, must not be freed. - dataReceivedSize
- Type: SystemUInt32
The size of the data array.
See Also