BitConverter.ToUInt128 Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| ToUInt128(ReadOnlySpan<Byte>) |
Convertit une étendue d’octets en lecture seule en entier non signé 128 bits. |
| ToUInt128(Byte[], Int32) |
Retourne un entier non signé 128 bits converti de quatre octets à une position spécifiée dans un tableau d’octets. |
ToUInt128(ReadOnlySpan<Byte>)
- Source:
- BitConverter.cs
- Source:
- BitConverter.cs
Important
Cette API n’est pas conforme CLS.
Convertit une étendue d’octets en lecture seule en entier non signé 128 bits.
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
Paramètres
- value
- ReadOnlySpan<Byte>
Étendue en lecture seule contenant les octets à convertir.
Retours
Entier non signé 128 bits représentant les octets convertis.
- Attributs
Exceptions
La longueur de value est inférieure à 16.
S’applique à
ToUInt128(Byte[], Int32)
- Source:
- BitConverter.cs
- Source:
- BitConverter.cs
Important
Cette API n’est pas conforme CLS.
Retourne un entier non signé 128 bits converti de quatre octets à une position spécifiée dans un tableau d’octets.
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
Paramètres
- value
- Byte[]
Tableau d’octets.
- startIndex
- Int32
Position de départ dans value.
Retours
Entier non signé 128 bits formé par seize octets commençant à startIndex.
- Attributs
Exceptions
startIndex est supérieur ou égal à la longueur de value moins 15, et est inférieur ou égal à la longueur de value moins 1.
value est null.
startIndex est inférieur à zéro ou supérieur à la longueur de value moins 1.