Click or drag to resize
ISerialPortRead Method
Reads a number of bytes from the SerialPort input buffer and writes those bytes into a byte array at the specified offset.

Namespace: SerialPortNET
Assembly: SerialPortNET (in SerialPortNET.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
void Read(
	byte[] buffer,
	int offset,
	int count
)

Parameters

buffer
Type: SystemByte
The byte array to write the input to.
offset
Type: SystemInt32
The offset in buffer at which to write the bytes.
count
Type: SystemInt32
The maximum number of bytes to read. Fewer bytes are read if count is greater than the number of bytes in the input buffer.
See Also