次の方法で共有


BinaryPrimitives.ReadUInt32BigEndian(ReadOnlySpan<Byte>) メソッド

定義

重要

この API は CLS 準拠ではありません。

バイトの読み取り専用スパンの先頭から、ビッグ エンディアンとして UInt32 を読み取ります。

public:
 static System::UInt32 ReadUInt32BigEndian(ReadOnlySpan<System::Byte> source);
[System.CLSCompliant(false)]
public static uint ReadUInt32BigEndian (ReadOnlySpan<byte> source);
[<System.CLSCompliant(false)>]
static member ReadUInt32BigEndian : ReadOnlySpan<byte> -> uint32
Public Shared Function ReadUInt32BigEndian (source As ReadOnlySpan(Of Byte)) As UInteger

パラメーター

source
ReadOnlySpan<Byte>

読み取る読み取り専用スパン。

戻り値

ビッグ エンディアン値。

属性

例外

source が小さすぎて UInt32 を格納できません。

注釈

スパンの先頭から正確に 4 バイトを読み取ります。

適用対象