Method | Description | |
---|---|---|
Read ( |
Reads data from the current UsbEndpointReader.
|
|
Read ( byte buffer, int timeout, int &transferLength ) : ErrorCode |
Reads data from the current UsbEndpointReader.
|
|
Read ( byte buffer, int offset, int count, int timeout, int &transferLength ) : ErrorCode |
Reads data from the current UsbEndpointReader.
|
|
Read ( object buffer, int timeout, int &transferLength ) : ErrorCode |
Reads data from the current UsbEndpointReader.
|
|
Read ( object buffer, int offset, int count, int timeout, int &transferLength ) : ErrorCode |
Reads data from the current UsbEndpointReader.
|
|
ReadFlush ( ) : ErrorCode |
Reads/discards data from the enpoint until no more data is available.
|
Method | Description | |
---|---|---|
CreateTransferContext ( ) : |
||
ReadData ( object context ) : void | ||
StartReadThread ( ) : void | ||
StartStopReadThread ( ) : void | ||
StopReadThread ( ) : bool | ||
UsbEndpointReader ( |
public Read ( |
||
buffer | The buffer to store the recieved data in. | |
offset | int | The position in buffer to start storing the data. |
count | int | The maximum number of bytes to receive. |
timeout | int | Maximum time to wait for the transfer to complete. If the transfer times out, the IO operation will be cancelled. |
transferLength | int | Number of bytes actually transferred. |
return | ErrorCode |
public Read ( byte buffer, int timeout, int &transferLength ) : ErrorCode | ||
buffer | byte | The buffer to store the recieved data in. |
timeout | int | Maximum time to wait for the transfer to complete. If the transfer times out, the IO operation will be cancelled. |
transferLength | int | Number of bytes actually transferred. |
return | ErrorCode |
public Read ( byte buffer, int offset, int count, int timeout, int &transferLength ) : ErrorCode | ||
buffer | byte | The buffer to store the recieved data in. |
offset | int | The position in buffer to start storing the data. |
count | int | The maximum number of bytes to receive. |
timeout | int | Maximum time to wait for the transfer to complete. If the transfer times out, the IO operation will be cancelled. |
transferLength | int | Number of bytes actually transferred. |
return | ErrorCode |
public Read ( object buffer, int timeout, int &transferLength ) : ErrorCode | ||
buffer | object | The buffer to store the recieved data in. |
timeout | int | Maximum time to wait for the transfer to complete. If the transfer times out, the IO operation will be cancelled. |
transferLength | int | Number of bytes actually transferred. |
return | ErrorCode |
public Read ( object buffer, int offset, int count, int timeout, int &transferLength ) : ErrorCode | ||
buffer | object | The buffer to store the recieved data in. |
offset | int | The position in buffer to start storing the data. |
count | int | The maximum number of bytes to receive. |
timeout | int | Maximum time to wait for the transfer to complete. If the transfer times out, the IO operation will be cancelled. |
transferLength | int | Number of bytes actually transferred. |
return | ErrorCode |