Sdílet prostřednictvím


FirmataCommandSequence.DecodeInt32(ReadOnlySpan<Byte>, Int32) Metoda

Definice

Dekódování int z zabalených 7bitových dat Tento způsob kódování uints se používá pouze v rozšiřujících modulech.

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

Parametry

data
ReadOnlySpan<Byte>

Dat. Očekává se 5 bajtů

fromOffset
Int32

Zahájení posunu v datech

Návraty

Dekódované číslo

Platí pro