 | PipeStreamWriteByte Method |
Writes one byte to the USB device.
Namespace:
WinUsbNet
Assembly:
WinUsbNet (in WinUsbNet.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic override void WriteByte(
byte value
)
Public Overrides Sub WriteByte (
value As Byte
)
public:
virtual void WriteByte(
unsigned char value
) override
Parameters
- value
- Type: SystemByte
The byte to write.
ExceptionsException | Condition |
---|
NotSupportedException | The PipeStream
does not support writing. |
Win32Exception | An error was reported by
the operating system. |
IOException | The UsbDevice is not open,
or the transfer did not complete. |
Remarks
Data sent to the USB device is not buffered, so this method will
always send a 1-byte packet.
See Also