LibUsbDotNet 2.2.8
Write Method (pBuffer, offset, count, timeout, transferLength)
Library Reference ► LibUsbDotNet ► UsbEndpointWriter ► Write(IntPtr, Int32, Int32, Int32, Int32%)
|
![]() |
Writes data to the current UsbEndpointWriter.

C# | Visual Basic | Visual C++ |

- pBuffer (IntPtr)
- The buffer storing the data to write.
- offset (Int32)
- The position in buffer to start writing the data from.
- count (Int32)
- The number of bytes 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.