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

Definíció

Fontos

Ez az API nem CLS-kompatibilis.

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

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

Paraméterek

source
ReadOnlySpan<Byte>

Az olvasandó bájtok írásvédett tartománya.

Válaszok

A nagy endian érték.

Attribútumok

Kivételek

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

Megjegyzések

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

A következőre érvényes: