BinaryPrimitives.TryReadUInt128BigEndian Método

Definição

Importante

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

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

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 de bytes para leitura e apenas leitura.

value
UInt128

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

Devoluções

false se o vão for demasiado pequeno para conter um UInt128; caso contrário, true.

Atributos

Observações

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

Aplica-se a