次の方法で共有


FirmataCommandSequence.DecodeInt32(ReadOnlySpan<Byte>, Int32) メソッド

定義

パックされた 7 ビット データから int をデコードします。 uints をエンコードするこの方法は、拡張モジュールでのみ使用されます。

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

データの開始オフセット

戻り値

デコードされた数値

適用対象