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