共用方式為


FirmataCommandSequence.Write 方法

定義

多載

Write(Byte[])

將位元組序列新增至命令順序。 位元組必須已經編碼。

Write(Byte[], Int32, Int32)

將位元組序列新增至命令順序。 位元組必須已經編碼。

Write(Byte[])

將位元組序列新增至命令順序。 位元組必須已經編碼。

public void Write(byte[] bytesToSend);
member this.Write : byte[] -> unit
Public Sub Write (bytesToSend As Byte())

參數

bytesToSend
Byte[]

要傳送的原始區塊

適用於

Write(Byte[], Int32, Int32)

將位元組序列新增至命令順序。 位元組必須已經編碼。

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)

參數

bytesToSend
Byte[]

要傳送的原始區塊

startIndex
Int32

開始索引

length
Int32

要傳送的位元組數目

適用於