Opens an endpoint for reading

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

- readEndpointID (ReadEndpointID)
- Endpoint number for read operations.
- readBufferSize (Int32)
- Size of the read buffer allocated for the DataReceived event.
- endpointType (EndpointType)
- The type of endpoint to open.

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