OpenEndpointReader Method (readEndpointID, readBufferSize, endpointType)

LibUsbDotNet

LibUsbDotNet 2.2.8 OpenEndpointReader Method (readEndpointID, readBufferSize, endpointType)
Library ReferenceLibUsbDotNet.LudnMonoLibUsbMonoUsbDeviceOpenEndpointReader(ReadEndpointID, Int32, EndpointType)
LibUsbDotNet on SourceForge
Opens an endpoint for reading
Declaration Syntax
C# Visual Basic Visual C++
public override UsbEndpointReader OpenEndpointReader(
	ReadEndpointID readEndpointID,
	int readBufferSize,
	EndpointType endpointType
)
Public Overrides Function OpenEndpointReader ( _
	readEndpointID As ReadEndpointID, _
	readBufferSize As Integer, _
	endpointType As EndpointType _
) As UsbEndpointReader
public:
virtual UsbEndpointReader^ OpenEndpointReader(
	ReadEndpointID readEndpointID, 
	int readBufferSize, 
	EndpointType endpointType
) override
Parameters
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.
Return Value
A UsbEndpointReader class ready for reading. If the specified endpoint is already been opened, the original UsbEndpointReader class is returned.

Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: 2.2.8.104 (2.2.8.104)