UInt16.IBinaryInteger<UInt16>.TryWriteBigEndian 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.
Tente d’écrire la valeur actuelle, au format big-endian, dans une étendue donnée.
virtual bool System.Numerics.IBinaryInteger<System.UInt16>.TryWriteBigEndian(Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten) = System::Numerics::IBinaryInteger<System::UInt16>::TryWriteBigEndian;
bool IBinaryInteger<ushort>.TryWriteBigEndian (Span<byte> destination, out int bytesWritten);
abstract member System.Numerics.IBinaryInteger<System.UInt16>.TryWriteBigEndian : Span<byte> * int -> bool
override this.System.Numerics.IBinaryInteger<System.UInt16>.TryWriteBigEndian : Span<byte> * int -> bool
Function TryWriteBigEndian (destination As Span(Of Byte), ByRef bytesWritten As Integer) As Boolean Implements IBinaryInteger(Of UShort).TryWriteBigEndian
Paramètres
- bytesWritten
- Int32
Quand cette méthode est retournée, elle contient le nombre d’octets écrits sur destination
.
Retours
true
si la valeur a été correctement écrite destination
dans ; sinon, false
.
Implémente
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour