UIntPtr.IBinaryInteger<UIntPtr>.TryWriteBigEndian Method

Definition

Tries to write the current value, in big-endian format, to a given span.

bool IBinaryInteger<UIntPtr>.TryWriteBigEndian (Span<byte> destination, out int bytesWritten);

Parameters

destination
Span<Byte>

The span to which the current value should be written.

bytesWritten
Int32

When this method returns, contains the number of bytes written to destination.

Returns

true if the value was succesfully written to destination; otherwise, false.

Implements

Applies to

Prodotto Versioni
.NET 7, 8, 9