共用方式為


FirmataCommandSequence.DecodeUInt32(ReadOnlySpan<Byte>, Int32) 方法

定義

從封裝的 7 位資料解碼 uint。 這種編碼方式只會用於擴充模組。

public static uint DecodeUInt32(ReadOnlySpan<byte> data, int fromOffset);
static member DecodeUInt32 : ReadOnlySpan<byte> * int -> uint32
Public Shared Function DecodeUInt32 (data As ReadOnlySpan(Of Byte), fromOffset As Integer) As UInteger

參數

data
ReadOnlySpan<Byte>

資料。 預期的 5 個位元組

fromOffset
Int32

資料中的開始位移

傳回

解碼的不帶正負號整數

例外狀況

收到的資料無效

適用於