BinaryPrimitives.ReadUInt64BigEndian(ReadOnlySpan<Byte>) Methode

Definition

Wichtig

Diese API ist nicht CLS-kompatibel.

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

public:
 static System::UInt64 ReadUInt64BigEndian(ReadOnlySpan<System::Byte> source);
[System.CLSCompliant(false)]
public static ulong ReadUInt64BigEndian(ReadOnlySpan<byte> source);
[<System.CLSCompliant(false)>]
static member ReadUInt64BigEndian : ReadOnlySpan<byte> -> uint64
Public Shared Function ReadUInt64BigEndian (source As ReadOnlySpan(Of Byte)) As ULong

Parameter

source
ReadOnlySpan<Byte>

Die schreibgeschützte Spanne von Bytes, die gelesen werden sollen.

Gibt zurück

Der große Endianwert.

Attribute

Ausnahmen

source ist zu klein, um ein UInt64.

Hinweise

Liest genau 8 Bytes ab dem Anfang der Spanne.

Gilt für: