BinaryPrimitives.ReadUInt32BigEndian(ReadOnlySpan<Byte>) Methode

Definition

Wichtig

Diese API ist nicht CLS-kompatibel.

Liest eine UInt32 von Anfang an eine schreibgeschützte Spanne von Bytes, als big endian.

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

Parameter

source
ReadOnlySpan<Byte>

Die schreibgeschützte Spanne, die gelesen werden soll.

Gibt zurück

Der große Endianwert.

Attribute

Ausnahmen

source ist zu klein, um ein UInt32.

Hinweise

Liest genau 4 Bytes vom Anfang der Spanne.

Gilt für: