BinaryPrimitives.ReadUIntPtrBigEndian(ReadOnlySpan<Byte>) Methode

Definition

Wichtig

Diese API ist nicht CLS-kompatibel.

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

public:
 static UIntPtr ReadUIntPtrBigEndian(ReadOnlySpan<System::Byte> source);
[System.CLSCompliant(false)]
public static UIntPtr ReadUIntPtrBigEndian(ReadOnlySpan<byte> source);
[<System.CLSCompliant(false)>]
static member ReadUIntPtrBigEndian : ReadOnlySpan<byte> -> unativeint
Public Shared Function ReadUIntPtrBigEndian (source As ReadOnlySpan(Of Byte)) As UIntPtr

Parameter

source
ReadOnlySpan<Byte>

Die schreibgeschützte Spanne, die gelesen werden soll.

Gibt zurück

UIntPtr

unativeint

Der große Endianwert.

Attribute

Ausnahmen

source ist zu klein, um ein UIntPtr.

Hinweise

Liest genau 4 Bytes auf 32-Bit-Plattformen – oder 8 Bytes auf 64-Bit-Plattformen von Anfang an.

Gilt für: