FirmataCommandSequence.DecodeInt32(ReadOnlySpan<Byte>, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從已封裝的 7 位資料解碼 int。 這種編碼方式只會在擴充模組中使用。
public static int DecodeInt32(ReadOnlySpan<byte> data, int fromOffset);
static member DecodeInt32 : ReadOnlySpan<byte> * int -> int
Public Shared Function DecodeInt32 (data As ReadOnlySpan(Of Byte), fromOffset As Integer) As Integer
參數
- data
- ReadOnlySpan<Byte>
資料。 預期的 5 個位元組
- fromOffset
- Int32
資料中的開始位移
傳回
解碼的數位