Decimal.IFloatingPoint<Decimal>.TryWriteExponentBigEndian Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

C#
bool IFloatingPoint<decimal>.TryWriteExponentBigEndian(Span<byte> destination, out int bytesWritten);

Parameters

destination
Span<Byte>

The span to which the current exponent should be written.

bytesWritten
Int32

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

Returns

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

Implements

Applies to

Product Versions
.NET 7, 8, 9, 10