LibUsbDotNet 2.2.8
Write Method (buffer, timeout, transferLength)
Library ReferenceLibUsbDotNetUsbEndpointWriterWrite(array<Byte>[]()[][], Int32, Int32%)
LibUsbDotNet on SourceForge
Writes data to the current UsbEndpointWriter.
Declaration Syntax
C#Visual BasicVisual C++
public virtual ErrorCode Write(
	byte[] buffer,
	int timeout,
	out int transferLength
Public Overridable Function Write ( _
	buffer As Byte(), _
	timeout As Integer, _
	<OutAttribute> ByRef transferLength As Integer _
) As ErrorCode
virtual ErrorCode Write(
	array<unsigned char>^ buffer, 
	int timeout, 
	[OutAttribute] int% transferLength
buffer (array<Byte>[]()[][])
The buffer storing the data to write.
timeout (Int32)
Maximum time to wait for the transfer to complete. If the transfer times out, the IO operation will be cancelled.
transferLength (Int32%)
Number of bytes actually transferred.
Return Value
ErrorCode.None on success.

Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: (