Specifications

- 340 -
Input
Reads data from the receive buffer.
Syntax
[VB]
Public Function Input(ByVal buffer() As Byte, ByVal offset As Integer, _
ByVal len As Integer) As Integer
[C#]
public int Input(byte[] buffer, int offset, int len)
Parameters
buffer
[out] Destination buffer
offset
[in] Offset from the beginning of the destination buffer indicating the start point of the read
data
len
[in] Maximum length of the buffer to be read
Return value
Length (size) of the data that has been actually read out
Exceptions
Name of Exception Meaning
ObjectDisposedException The COM port has not been opened yet.