FirmataCommandSequence.Write 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 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
要傳送的位元組數目