| 
            
              TlsClientRead Method
             | 
          
        
        
            When overridden in a derived class, reads a number of bytes from the current received data buffer and writes those bytes into a byte array at the specified offset.
            
        
        Namespace: GSF.CommunicationAssembly: GSF.Communication (in GSF.Communication.dll) Version: 2.4.258-beta
Syntaxpublic override int Read(
	byte[] buffer,
	int startIndex,
	int length
)
abstract Read : 
        buffer : byte[] * 
        startIndex : int * 
        length : int -> int 
override Read : 
        buffer : byte[] * 
        startIndex : int * 
        length : int -> int function Read(buffer, startIndex, length);
 View SourceParameters
- buffer  Byte
 - Destination buffer used to hold copied bytes.
 - startIndex  Int32
 - 0-based starting index into destination buffer to begin writing data.
 - length  Int32
 - The number of bytes to read from current received data buffer and write into buffer.
 
Return Value
Int32The number of bytes read.
Implements
IClientRead(Byte, Int32, Int32)
Remarks
            This function should only be called from within the 
ReceiveData event handler. Calling this method outside this event
            will have unexpected results.
            
See Also