Writes a specified number of bytes to the serial port using data from a buffer.
Namespace: SerialPortNETAssembly: SerialPortNET (in SerialPortNET.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxvoid Write(
byte[] buffer,
int offset,
int count
)
Sub Write (
buffer As Byte(),
offset As Integer,
count As Integer
)
void Write(
array<unsigned char>^ buffer,
int offset,
int count
)
abstract Write :
buffer : byte[] *
offset : int *
count : int -> unit
Parameters
- buffer
- Type: SystemByte
The byte array that contains the data to write to the port. - offset
- Type: SystemInt32
The zero-based byte offset in the buffer parameter at which to begin copying bytes to the port. - count
- Type: SystemInt32
The number of bytes to write.
See Also