IFloatingPoint<TSelf>.WriteSignificandBigEndian Method

Definition

Overloads

WriteSignificandBigEndian(Byte[])

Writes the current significand, in big-endian format, to a given array.

WriteSignificandBigEndian(Span<Byte>)

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

WriteSignificandBigEndian(Byte[], Int32)

Writes the current significand, in big-endian format, to a given array.

WriteSignificandBigEndian(Byte[])

Source:
IFloatingPoint.cs
Source:
IFloatingPoint.cs
Source:
IFloatingPoint.cs

Writes the current significand, in big-endian format, to a given array.

C#
public virtual int WriteSignificandBigEndian(byte[] destination);

Parameters

destination
Byte[]

The array to which the current significand should be written.

Returns

The number of bytes written to destination.

Applies to

.NET 9 and other versions
Product Versions
.NET 7, 8, 9

WriteSignificandBigEndian(Span<Byte>)

Source:
IFloatingPoint.cs
Source:
IFloatingPoint.cs
Source:
IFloatingPoint.cs

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

C#
public virtual int WriteSignificandBigEndian(Span<byte> destination);

Parameters

destination
Span<Byte>

The span to which the current significand should be written.

Returns

The number of bytes written to destination.

Applies to

.NET 9 and other versions
Product Versions
.NET 7, 8, 9

WriteSignificandBigEndian(Byte[], Int32)

Source:
IFloatingPoint.cs
Source:
IFloatingPoint.cs
Source:
IFloatingPoint.cs

Writes the current significand, in big-endian format, to a given array.

C#
public virtual int WriteSignificandBigEndian(byte[] destination, int startIndex);

Parameters

destination
Byte[]

The array to which the current significand should be written.

startIndex
Int32

The starting index at which the significand should be written.

Returns

The number of bytes written to destination starting at startIndex.

Applies to

.NET 9 and other versions
Product Versions
.NET 7, 8, 9