Performs an asynchronous read operation (overlapped) into safe array of bytes.
| Delphi | procedure ReadArrayOverlapped(var OV: FTSPCOverlapped; var DataBuffer: array of byte; BytesToRead: Cardinal);
|
|---|---|
| BCBuilder | void ReadArrayOverlapped(FTSPCOverlapped *OV, Byte * DataBuffer, Cardinal BytesToRead);
|
OV
[out] Instance of FTSPCOverlapped Class.
DataBuffer
[out] Destination SafeArray of bytes.
BytesToRead
[in] Number of bytes to read.
OV and DataBuffer must be "alive" during all time of the operation.
You should call GetResult method of OV instance to get status of the operation.