UInt64.IBinaryInteger<UInt64>.TryWriteLittleEndian Metoda

Definice

Pokusí se na daný rozsah napsat aktuální hodnotu v malém endian formátu.

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

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