Int16.IBinaryInteger<Int16>.TryWriteLittleEndian Méthode
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 little endian, dans une étendue donnée.
virtual bool System.Numerics.IBinaryInteger<System.Int16>.TryWriteLittleEndian(Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten) = System::Numerics::IBinaryInteger<short>::TryWriteLittleEndian;
bool IBinaryInteger<short>.TryWriteLittleEndian(Span<byte> destination, out int bytesWritten);
abstract member System.Numerics.IBinaryInteger<System.Int16>.TryWriteLittleEndian : Span<byte> * int -> bool
override this.System.Numerics.IBinaryInteger<System.Int16>.TryWriteLittleEndian : Span<byte> * int -> bool
Function TryWriteLittleEndian (destination As Span(Of Byte), ByRef bytesWritten As Integer) As Boolean Implements IBinaryInteger(Of Short).TryWriteLittleEndian
- bytesWritten
- Int32
Quand cette méthode est retournée, elle contient le nombre d’octets écrits sur destination
.
true
si la valeur a été écrite destination
avec succès dans ; sinon, false
.
Produit | Versions |
---|---|
.NET | 7, 8, 9, 10 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires: