BinaryPrimitives.TryReadUInt128BigEndian Método

Definição

Importante

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

Lê um UInt128 desde o início de um intervalo somente leitura de bytes, como um grande endiano.

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

Parâmetros

source
ReadOnlySpan<Byte>

O intervalo somente leitura de bytes a serem lidos.

value
UInt128

Quando esse método é retornado, contém o valor lido do intervalo somente leitura de bytes, como big endian.

Retornos

false se o intervalo for muito pequeno para conter um UInt128; caso contrário, true.

Atributos

Comentários

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

Aplica-se a