UdpClientRead Method
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.187 -- Release Build+c56c9af4c34d409d2da8c862e706d11e5800cd2b
public override int Read(
byte[] buffer,
int startIndex,
int length
)
function Read(buffer, startIndex, length);
- 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.
IClientRead(Byte, Int32, Int32)
This function should only be called from within the
ReceiveData event handler. Calling this method outside
this event will have unexpected results.