UIntPtr.IBinaryInteger<UIntPtr>.TryWriteBigEndian Metoda

Definice

Pokusí se na daný rozsah napsat aktuální hodnotu ve formátu big-endian.

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

Parametry

destination
Span<Byte>

Rozsah, do kterého má být aktuální hodnota zapsána.

bytesWritten
Int32

Když tato metoda vrátí, obsahuje počet bajtů zapsaných do destination.

Návraty

true pokud byla hodnota úspěšně zapsána do destination; jinak , false.

Implementuje

Platí pro