LibUsbDotNet 2.2.8
UsbEndpointReader Class
Library ReferenceLibUsbDotNetUsbEndpointReader
LibUsbDotNet on SourceForge
Contains methods for retrieving data from a Bulk or Interrupt endpoint using the overloaded Read(array<Byte>[]()[][], Int32, Int32%) functions or a DataReceived event.
Declaration Syntax
C#Visual BasicVisual C++
public class UsbEndpointReader : UsbEndpointBase
Public Class UsbEndpointReader _
	Inherits UsbEndpointBase
public ref class UsbEndpointReader : public UsbEndpointBase
Members
All MembersMethodsPropertiesEvents



IconMemberDescription
DataReceived
The DataReceived Event is fired when new data arrives for the current UsbEndpointReader.

DataReceivedEnabled
Gets/Sets a value indicating if the DataReceived event should be used.

DataReceivedEnabledChanged
The DataReceivedEnabledChanged Event is fired when the DataReceived event is started or stopped.

DefReadBufferSize
Default read buffer size when using the DataReceived event.

Read(array<Byte>[]()[][], Int32, Int32%)
Reads data from the current UsbEndpointReader.

Read(IntPtr, Int32, Int32, Int32, Int32%)
Reads data from the current UsbEndpointReader.

Read(array<Byte>[]()[][], Int32, Int32, Int32, Int32%)
Reads data from the current UsbEndpointReader.

Read(Object, Int32, Int32, Int32, Int32%)
Reads data from the current UsbEndpointReader.

Read(Object, Int32, Int32%)
Reads data from the current UsbEndpointReader.

ReadBufferSize
Size of the read buffer in bytes for the DataReceived event.

ReadFlush()()()()
Reads/discards data from the enpoint until no more data is available.

ReadThreadPriority
Gets/Sets the Priority level for the read thread when DataReceivedEnabled is true.

Remarks
Inheritance Hierarchy

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