BinaryPrimitives.TryReadUInt64BigEndian Método

Definição

Importante

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

Lê a UInt64 partir do início de um intervalo de bytes de apenas leitura, como big endian.

public:
 static bool TryReadUInt64BigEndian(ReadOnlySpan<System::Byte> source, [Runtime::InteropServices::Out] System::UInt64 % value);
[System.CLSCompliant(false)]
public static bool TryReadUInt64BigEndian(ReadOnlySpan<byte> source, out ulong value);
[<System.CLSCompliant(false)>]
static member TryReadUInt64BigEndian : ReadOnlySpan<byte> * uint64 -> bool
Public Shared Function TryReadUInt64BigEndian (source As ReadOnlySpan(Of Byte), ByRef value As ULong) As Boolean

Parâmetros

source
ReadOnlySpan<Byte>

O intervalo de bytes para leitura e apenas leitura.

value
UInt64

Quando este método retorna, contém o valor lido do intervalo só de leitura dos bytes, como big endian.

Devoluções

true se o vão for suficientemente grande para conter um UInt64; caso contrário, false.

Atributos

Observações

Lê exatamente 8 bytes desde o início do intervalo.

Aplica-se a