IOpenAccessReader interface.Read Method
Definition
Namespace: ASNA.DataGate.DataLink
Assembly: ASNA.QSys.DataGate.Client.dll
Reads a sequence of bytes from the channel into the specified buffer.
int Read(Byte[] inBuf, int iBegin, int cBytes)
Reads a sequence of bytes from the channel into the specified buffer.
int Read(Byte[] inBuf, int iBegin, int cBytes)
Parameters
| Type | Parameter name | Description |
|---|---|---|
| Byte[] | inBuf | The buffer to store the data read from the channel. |
| Int32 | iBegin | The zero-based byte offset in inBuf at which to begin storing the data read from the channel. |
| Int32 | cBytes | The maximum number of bytes to read. |
Returns
| Type | Description |
|---|---|
| Int32 | The total number of bytes read into the buffer. |