LibUsbDotNet 2.2.8
OpenEndpointReader Method (readEndpointID, readBufferSize)
Library Reference ► LibUsbDotNet ► IUsbInterface ► OpenEndpointReader(ReadEndpointID, Int32)
|
Opens a Bulk endpoint for reading
Declaration Syntax
C# | Visual Basic | Visual C++ |
UsbEndpointReader OpenEndpointReader( ReadEndpointID readEndpointID, int readBufferSize )
Function OpenEndpointReader ( _ readEndpointID As ReadEndpointID, _ readBufferSize As Integer _ ) As UsbEndpointReader
UsbEndpointReader^ OpenEndpointReader( ReadEndpointID readEndpointID, int readBufferSize )
Parameters
- readEndpointID (ReadEndpointID)
- Endpoint number for read operations.
- readBufferSize (Int32)
- Size of the read buffer allocated for the DataReceived event.
Return Value
A UsbEndpointReader class ready for reading. If the specified endpoint is already been opened, the original UsbEndpointReader class is returned.