LibUsbDotNet 2.2.8
FillBulk Method (devHandle, endpoint, buffer, length, callback, userData, timeout)
Library ReferenceMonoLibUsb.TransferMonoUsbTransferFillBulk(MonoUsbDeviceHandle, Byte, IntPtr, Int32, Delegate, IntPtr, Int32)
LibUsbDotNet on SourceForge
Helper function to populate the required MonoUsbTransfer properties for a bulk transfer.
Declaration Syntax
C#Visual BasicVisual C++
public void FillBulk(
	MonoUsbDeviceHandle devHandle,
	byte endpoint,
	IntPtr buffer,
	int length,
	Delegate callback,
	IntPtr userData,
	int timeout
)
Public Sub FillBulk ( _
	devHandle As MonoUsbDeviceHandle, _
	endpoint As Byte, _
	buffer As IntPtr, _
	length As Integer, _
	callback As Delegate, _
	userData As IntPtr, _
	timeout As Integer _
)
public:
void FillBulk(
	MonoUsbDeviceHandle^ devHandle, 
	unsigned char endpoint, 
	IntPtr buffer, 
	int length, 
	Delegate^ callback, 
	IntPtr userData, 
	int timeout
)
Parameters
devHandle (MonoUsbDeviceHandle)
handle of the device that will handle the transfer
endpoint (Byte)
address of the endpoint where this transfer will be sent
buffer (IntPtr)
data buffer
length (Int32)
length of data buffer
callback (Delegate)
callback function to be invoked on transfer completion
userData (IntPtr)
user data to pass to callback function
timeout (Int32)
timeout for the transfer in milliseconds
Remarks
Note:FillBulk(MonoUsbDeviceHandle, Byte, IntPtr, Int32, Delegate, IntPtr, Int32) is similar to libusb_fill_bulk_transfer().

Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: 2.2.8.104 (2.2.8.104)