BinaryPrimitives.TryReadUInt128BigEndian Método

Definición

Importante

Esta API no es conforme a CLS.

Lee desde UInt128 el principio de un intervalo de bytes de solo lectura, 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>

Intervalo de bytes de solo lectura que se va a leer.

value
UInt128

Cuando este método devuelve, contiene el valor leído fuera del intervalo de bytes de solo lectura, como big endian.

Devoluciones

false si el intervalo es demasiado pequeño para contener ; UInt128de lo contrario, true.

Atributos

Comentarios

Lee exactamente 16 bytes desde el principio del intervalo.

Se aplica a