BinaryPrimitives.ReadUInt32BigEndian(ReadOnlySpan<Byte>) Metódus

Definíció

Fontos

Ez az API nem CLS-kompatibilis.

A bájtok UInt32 írásvédett terjedelmének kezdetét olvassa be nagy endianként.

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

Paraméterek

source
ReadOnlySpan<Byte>

Az írásvédett tartomány az olvasáshoz.

Válaszok

A nagy endian érték.

Attribútumok

Kivételek

source túl kicsi ahhoz, hogy tartalmazzon egy UInt32.

Megjegyzések

Pontosan 4 bájtot olvas a span kezdetétől.

A következőre érvényes: