Share via


UIntPtr.IBinaryInteger<UIntPtr>.TryWriteLittleEndian Metoda

Definice

Pokusí se zapsat aktuální hodnotu do daného rozsahu ve formátu little-endian.

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

Parametry

destination
Span<Byte>

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

bytesWritten
Int32

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

Návraty

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

Implementuje

Platí pro