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)
Syntaxpublic void Write(
byte[] buffer,
int offset,
int count
)
Public Sub Write (
buffer As Byte(),
offset As Integer,
count As Integer
)
public:
virtual void Write(
array<unsigned char>^ buffer,
int offset,
int count
) sealed
abstract Write :
buffer : byte[] *
offset : int *
count : int -> unit
override 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.
Implements
ISerialPortWrite(Byte, Int32, Int32)
See Also