BinaryPrimitives.TryReadUInt128BigEndian Methode

Definition

Wichtig

Diese API ist nicht CLS-kompatibel.

Liest eine UInt128 von Anfang an eine schreibgeschützte Spanne von Bytes, als 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

Parameter

source
ReadOnlySpan<Byte>

Die schreibgeschützte Spanne von Bytes, die gelesen werden sollen.

value
UInt128

Wenn diese Methode zurückgegeben wird, enthält sie den Wert, der aus der schreibgeschützten Bytespanne gelesen wird, als big endian.

Gibt zurück

falsewenn die Spanne zu klein ist, um ein UInt128; andernfalls . true

Attribute

Hinweise

Liest genau 16 Bytes vom Anfang der Spanne.

Gilt für: