UInt64.IBinaryInteger<UInt64>.TryWriteBigEndian Metoda

Definicja

Próbuje zapisać bieżącą wartość w formacie big-endian dla danego zakresu.

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

Parametry

destination
Span<Byte>

Zakres, do którego należy zapisać bieżącą wartość.

bytesWritten
Int32

Gdy ta metoda zwraca wartość , zawiera liczbę bajtów zapisanych w obiekcie destination.

Zwraca

truejeśli wartość została pomyślnie zapisana w elemencie destination; w przeciwnym razie . false

Implementuje

Dotyczy