FirmataCommandSequence.DecodeUInt32(ReadOnlySpan<Byte>, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從封裝的 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
資料中的開始位移
傳回
解碼的不帶正負號整數
例外狀況
收到的資料無效