Decimal.IFloatingPoint<Decimal>.TryWriteSignificandBigEndian Method

Definition

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

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

Parameters

destination
Span<Byte>

The span to which the current significand should be written.

bytesWritten
Int32

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

Returns

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

Implements

Applies to

Produkt Versioner
.NET 7, 8, 9