BinaryPrimitives.ReadUInt64BigEndian(ReadOnlySpan<Byte>) Método

Definição

Importante

Esta API não está em conformidade com CLS.

Lê um UInt64 desde o início de um intervalo de bytes somente leitura, como big endian.Reads a UInt64 from the beginning of a read-only span of bytes, as 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

Parâmetros

source
ReadOnlySpan<Byte>

O intervalo de bytes somente leitura a ser lido.The read-only span of bytes to read.

Retornos

UInt64

O valor big endian.The big endian value.

Atributos

Exceções

source é muito pequena para conter um UInt64.source is too small to contain a UInt64.

Comentários

Lê exatamente 8 bytes do início do span.Reads exactly 8 bytes from the beginning of the span.

Aplica-se a