Click or drag to resize

SerialPortSendByteArray(Byte, Int32) Method

Sends a specified number of bytes from a byte array to the serial port.

Namespace: ZylSoft.Serial
Assembly: ZylSerialPort (in ZylSerialPort.dll) Version: 1.83.8519.34486
Syntax
public int SendByteArray(
	byte[] byteArray,
	int count
)

Parameters

byteArray  Byte
The byte array to be sent.
count  Int32
The number of bytes to send, starting with the first byte. If count is higher than byteArray.Length, only length number of bytes will be sent.

Return Value

Int32
The count of sent bytes.
See Also