Click or drag to resize

USBPipeRead Method (Byte, Int32, Int32)

Reads data from the pipe into a buffer.

Namespace:  MadWizard.WinUSBNet
Assembly:  WinUSBNet (in WinUSBNet.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public int Read(
	byte[] buffer,
	int offset,
	int length
)

Parameters

buffer
Type: SystemByte
The buffer to read data into.
offset
Type: SystemInt32
The byte offset in buffer from which to begin writing data read from the pipe.
length
Type: SystemInt32
The maximum number of bytes to read, starting at offset

Return Value

Type: Int32
The number of bytes read from the pipe.
See Also