NFloat.IFloatingPoint<NFloat>.TryWriteExponentBigEndian 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
嘗試將當前指數以大端格式寫入給定的範圍。
virtual bool System.Numerics.IFloatingPoint<System.Runtime.InteropServices.NFloat>.TryWriteExponentBigEndian(Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten) = System::Numerics::IFloatingPoint<System::Runtime::InteropServices::NFloat>::TryWriteExponentBigEndian;
bool IFloatingPoint<NFloat>.TryWriteExponentBigEndian(Span<byte> destination, out int bytesWritten);
abstract member System.Numerics.IFloatingPoint<System.Runtime.InteropServices.NFloat>.TryWriteExponentBigEndian : Span<byte> * int -> bool
override this.System.Numerics.IFloatingPoint<System.Runtime.InteropServices.NFloat>.TryWriteExponentBigEndian : Span<byte> * int -> bool
Function TryWriteExponentBigEndian (destination As Span(Of Byte), ByRef bytesWritten As Integer) As Boolean Implements IFloatingPoint(Of NFloat).TryWriteExponentBigEndian
參數
- bytesWritten
- Int32
當此方法回傳時,包含寫入 destination的位元組數。
傳回
true 若指數成功寫成 destination;否則, false。