'Declaration
Protected Shared Function CalculateChunkCount( _ ByVal messageSize As Integer, _ ByVal bufferSize As Integer _ ) As Integer
'Usage
Dim messageSize As Integer Dim bufferSize As Integer Dim value As Integer value = UaSCUaBinaryChannel.CalculateChunkCount(messageSize, bufferSize)
protected static int CalculateChunkCount( int messageSize, int bufferSize )
protected: static int CalculateChunkCount( int messageSize, int bufferSize )
Parameters
- messageSize
- The message size to be used.
- bufferSize
- The buffer available for a message.
Return Value
The chunk count.