BigInteger.GetByteCount(Boolean) 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.
Obtient le nombre d’octets qui seront générés par ToByteArray(Boolean, Boolean) et TryWriteBytes(Span<Byte>, Int32, Boolean, Boolean).
public int GetByteCount(bool isUnsigned = false);
member this.GetByteCount : bool -> int
Public Function GetByteCount (Optional isUnsigned As Boolean = false) As Integer
Paramètres
- isUnsigned
- Boolean
true pour utiliser l’encodage non signé ; sinon, false.
Retours
Nombre d’octets.