Double.IFloatingPoint<Double>.TryWriteSignificandBigEndian 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
尝试以 big-endian 格式将当前有效值写入给定范围。
virtual bool System.Numerics.IFloatingPoint<System.Double>.TryWriteSignificandBigEndian(Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten) = System::Numerics::IFloatingPoint<double>::TryWriteSignificandBigEndian;
bool IFloatingPoint<double>.TryWriteSignificandBigEndian (Span<byte> destination, out int bytesWritten);
abstract member System.Numerics.IFloatingPoint<System.Double>.TryWriteSignificandBigEndian : Span<byte> * int -> bool
override this.System.Numerics.IFloatingPoint<System.Double>.TryWriteSignificandBigEndian : Span<byte> * int -> bool
Function TryWriteSignificandBigEndian (destination As Span(Of Byte), ByRef bytesWritten As Integer) As Boolean Implements IFloatingPoint(Of Double).TryWriteSignificandBigEndian
参数
- bytesWritten
- Int32
当此方法返回时,包含写入到 destination
的字节数。
返回
true
如果成功将有效值写入 ,则为 destination
;否则为 false
。