ServerBaseRead 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: Gemstone.CommunicationAssembly: Gemstone.Communication (in Gemstone.Communication.dll) Version: 1.0.138 -- Release Build+186144cc77f460103feb64173195896fdb13e4b3
function Read(clientID, buffer, startIndex, length);
- clientID Guid
- ID of the client from which data buffer should be read.
- 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.
Int32The number of bytes read.
IServerRead(Guid, Byte, Int32, Int32)
This function should only be called from within the
ReceiveClientData event handler. Calling this method outside this event
will have unexpected results.