 | PipeStreamClearReadBuffer Method |
Namespace:
WinUsbNet
Assembly:
WinUsbNet (in WinUsbNet.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic void ClearReadBuffer()
Public Sub ClearReadBuffer
public:
void ClearReadBuffer()
ExceptionsException | Condition |
---|
IOException | The UsbDevice is not open. |
NotSupportedException | The PipeStream
does not support reading.
|
Remarks
Data received from the USB device that has not yet been read with
the
Read or
ReadByte
methods is stored in an internal buffer. The
ClearReadBuffer method
clears the buffer, discarding any unread data.
See Also