BitConverter.ToUInt128 Methode

Definition

Überlädt

Name Beschreibung
ToUInt128(ReadOnlySpan<Byte>)

Wandelt einen schreibgeschützten Bytebereich in eine 128-Bit-ganzzahl ohne Vorzeichen um.

ToUInt128(Byte[], Int32)

Gibt eine 128-Bit-ganzzahl ohne Vorzeichen zurück, die von sechzehn Bytes an einer angegebenen Position in einem Bytearray konvertiert wird.

ToUInt128(ReadOnlySpan<Byte>)

Quelle:
BitConverter.cs
Quelle:
BitConverter.cs
Quelle:
BitConverter.cs

Wichtig

Diese API ist nicht CLS-kompatibel.

Wandelt einen schreibgeschützten Bytebereich in eine 128-Bit-ganzzahl ohne Vorzeichen um.

public:
 static UInt128 ToUInt128(ReadOnlySpan<System::Byte> value);
[System.CLSCompliant(false)]
public static UInt128 ToUInt128(ReadOnlySpan<byte> value);
[<System.CLSCompliant(false)>]
static member ToUInt128 : ReadOnlySpan<byte> -> UInt128
Public Shared Function ToUInt128 (value As ReadOnlySpan(Of Byte)) As UInt128

Parameter

value
ReadOnlySpan<Byte>

Eine schreibgeschützte Spanne, die die zu konvertierenden Bytes enthält.

Gibt zurück

Eine 128-Bit-ganzzahl ohne Vorzeichen, die die konvertierten Bytes darstellt.

Attribute

Ausnahmen

Die Länge beträgt value weniger als 16.

Gilt für:

ToUInt128(Byte[], Int32)

Quelle:
BitConverter.cs
Quelle:
BitConverter.cs
Quelle:
BitConverter.cs

Wichtig

Diese API ist nicht CLS-kompatibel.

Gibt eine 128-Bit-ganzzahl ohne Vorzeichen zurück, die von sechzehn Bytes an einer angegebenen Position in einem Bytearray konvertiert wird.

public:
 static UInt128 ToUInt128(cli::array <System::Byte> ^ value, int startIndex);
[System.CLSCompliant(false)]
public static UInt128 ToUInt128(byte[] value, int startIndex);
[<System.CLSCompliant(false)>]
static member ToUInt128 : byte[] * int -> UInt128
Public Shared Function ToUInt128 (value As Byte(), startIndex As Integer) As UInt128

Parameter

value
Byte[]

Ein Bytearray.

startIndex
Int32

Die Startposition innerhalb valuevon .

Gibt zurück

Eine 128-Bit-ganzzahl ohne Vorzeichen, die durch sechzehn Bytes gebildet wird, beginnend bei startIndex.

Attribute

Ausnahmen

startIndex ist größer oder gleich der Länge von value minus 15 und ist kleiner oder gleich der Länge von value minus 1.

value ist null.

startIndex ist kleiner als 0 oder größer als die Länge von value minus 1.

Gilt für: