Click or drag to resize

USBPipe.Read Method (Byte[])

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
)

Parameters

buffer
Type:System.Byte[]
The buffer to read data into. The maximum number of bytes that will be read is specified by the length of the buffer.

Return Value

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