Half.IFloatingPoint<Half>.TryWriteExponentLittleEndian 方法

定义

尝试以 little-endian 格式将当前指数写入给定范围。

 virtual bool System.Numerics.IFloatingPoint<System.Half>.TryWriteExponentLittleEndian(Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten) = System::Numerics::IFloatingPoint<Half>::TryWriteExponentLittleEndian;
bool IFloatingPoint<Half>.TryWriteExponentLittleEndian (Span<byte> destination, out int bytesWritten);
abstract member System.Numerics.IFloatingPoint<System.Half>.TryWriteExponentLittleEndian : Span<byte> * int -> bool
override this.System.Numerics.IFloatingPoint<System.Half>.TryWriteExponentLittleEndian : Span<byte> * int -> bool
Function TryWriteExponentLittleEndian (destination As Span(Of Byte), ByRef bytesWritten As Integer) As Boolean Implements IFloatingPoint(Of Half).TryWriteExponentLittleEndian

参数

destination
Span<Byte>

当前指数应写入到的跨度。

bytesWritten
Int32

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

返回

true 如果指数已成功写入 ,则为 destination;否则为 false

实现

适用于