Method IFloatingPoint<BigDecimal>.TryWriteSignificandBigEndian
IFloatingPoint<BigDecimal>.TryWriteSignificandBigEndian(Span<byte>, out int)
Tries to write the current significand, in big-endian format, to a given span.
Declaration
bool IFloatingPoint<BigDecimal>.TryWriteSignificandBigEndian(Span<byte> destination, out int bytesWritten)
Parameters
| Type | Name | Description |
|---|---|---|
| Span<byte> | destination | The span to which the current significand should be written. |
| int | bytesWritten | When this method returns, contains the number of bytes written to |
Returns
| Type | Description |
|---|---|
| bool | true if the significand was succesfully written to |