SerialPortSendByteArray(Byte, Int32) Method |
Sends a specified number of bytes from a byte array to the serial port.
Namespace: ZylSoft.SerialAssembly: ZylSerialPort (in ZylSerialPort.dll) Version: 1.83.8519.34486
Syntax public int SendByteArray(
byte[] byteArray,
int count
)
Public Function SendByteArray (
byteArray As Byte(),
count As Integer
) As Integer
public:
int SendByteArray(
array<unsigned char>^ byteArray,
int count
)
member SendByteArray :
byteArray : byte[] *
count : int -> int
public int SendByteArray(
byte[] byteArray,
int count
)
public function SendByteArray(
byteArray : byte[],
count : int
) : int
function SendByteArray(byteArray, count);
METHOD SendByteArray(
byteArray AS BYTE[],
count AS LONG
) AS LONG
No code example is currently available or this language may not be supported.
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