LibUsbDotNet 2.2.8
Transfer Method (buffer, offset, length, timeout, transferLength)
Library Reference ► LibUsbDotNet.Main ► UsbEndpointBase ► Transfer(Object, Int32, Int32, Int32, Int32%)
|
Synchronous bulk/interrupt transfer function.
Declaration Syntax
C# | Visual Basic | Visual C++ |
Parameters
- buffer (Object)
- A caller-allocated buffer for the transfer data. This object is pinned using PinnedHandle.
- offset (Int32)
- Position in buffer that transferring begins.
- length (Int32)
- Number of bytes, starting from thr offset parameter to transfer.
- timeout (Int32)
- Maximum time to wait for the transfer to complete.
- transferLength (Int32%)
- Number of bytes actually transferred.
Return Value
True on success.