LibUsbDotNet 2.2.8
OpenEndpointReader Method (readEndpointID, readBufferSize)
Library Reference ► LibUsbDotNet ► UsbDevice ► OpenEndpointReader(ReadEndpointID, Int32)
|
![]() |
Opens a Bulk endpoint for reading

C# | Visual Basic | Visual C++ |
public UsbEndpointReader OpenEndpointReader( ReadEndpointID readEndpointID, int readBufferSize )
Public Function OpenEndpointReader ( _ readEndpointID As ReadEndpointID, _ readBufferSize As Integer _ ) As UsbEndpointReader
public: virtual UsbEndpointReader^ OpenEndpointReader( ReadEndpointID readEndpointID, int readBufferSize ) sealed

- readEndpointID (ReadEndpointID)
- Endpoint number for read operations.
- readBufferSize (Int32)
- Size of the read buffer allocated for the DataReceived event.

A UsbEndpointReader class ready for reading. If the specified endpoint is already been opened, the original UsbEndpointReader class is returned.