FirmataCommandSequence.Write Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Write(Byte[]) |
Add a sequence of bytes to the command sequence. The bytes must be encoded already. |
| Write(Byte[], Int32, Int32) |
Add a sequence of bytes to the command sequence. The bytes must be encoded already. |
Write(Byte[])
Add a sequence of bytes to the command sequence. The bytes must be encoded already.
public void Write(byte[] bytesToSend);
member this.Write : byte[] -> unit
Public Sub Write (bytesToSend As Byte())
Parameters
- bytesToSend
- Byte[]
The raw block to send
Applies to
Write(Byte[], Int32, Int32)
Add a sequence of bytes to the command sequence. The bytes must be encoded already.
public void Write(byte[] bytesToSend, int startIndex, int length);
member this.Write : byte[] * int * int -> unit
Public Sub Write (bytesToSend As Byte(), startIndex As Integer, length As Integer)
Parameters
- bytesToSend
- Byte[]
The raw block to send
- startIndex
- Int32
Start index
- length
- Int32
Number of bytes to send