IFloatingPoint<TSelf>.TryWriteSignificandLittleEndian 方法

定义

尝试以 little-endian 格式将当前有效值写入给定范围。

public:
 bool TryWriteSignificandLittleEndian(Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten);
public bool TryWriteSignificandLittleEndian (Span<byte> destination, out int bytesWritten);
abstract member TryWriteSignificandLittleEndian : Span<byte> * int -> bool
Public Function TryWriteSignificandLittleEndian (destination As Span(Of Byte), ByRef bytesWritten As Integer) As Boolean

参数

destination
Span<Byte>

当前有效和应写入到的跨度。

bytesWritten
Int32

当此方法返回时,包含写入到 destination 的字节数。

返回

true 如果成功将有效和写入 ,则为 destination;否则为 false

适用于