Int16.IBinaryInteger<Int16>.TryWriteBigEndian Método

Definición

Intenta escribir el valor actual, en formato big-endian, en un intervalo determinado.

 virtual bool System.Numerics.IBinaryInteger<System.Int16>.TryWriteBigEndian(Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten) = System::Numerics::IBinaryInteger<short>::TryWriteBigEndian;
bool IBinaryInteger<short>.TryWriteBigEndian (Span<byte> destination, out int bytesWritten);
abstract member System.Numerics.IBinaryInteger<System.Int16>.TryWriteBigEndian : Span<byte> * int -> bool
override this.System.Numerics.IBinaryInteger<System.Int16>.TryWriteBigEndian : Span<byte> * int -> bool
Function TryWriteBigEndian (destination As Span(Of Byte), ByRef bytesWritten As Integer) As Boolean Implements IBinaryInteger(Of Short).TryWriteBigEndian

Parámetros

destination
Span<Byte>

Intervalo en el que se debe escribir el valor actual.

bytesWritten
Int32

Cuando este método devuelve un valor, este contiene el número de bytes escritos en destination.

Devoluciones

true si el valor se escribió correctamente en destination; de lo contrario, false.

Implementaciones

Se aplica a