BinaryPrimitives.TryWriteDoubleLittleEndian(Span<Byte>, Double) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將 a Double 寫入一個位元組區間,作為小端序。
public:
static bool TryWriteDoubleLittleEndian(Span<System::Byte> destination, double value);
public static bool TryWriteDoubleLittleEndian(Span<byte> destination, double value);
static member TryWriteDoubleLittleEndian : Span<byte> * double -> bool
Public Shared Function TryWriteDoubleLittleEndian (destination As Span(Of Byte), value As Double) As Boolean
參數
- value
- Double
要寫入位元組區間的值。
傳回
true 若跨度足夠大以容納 ; Double否則,則 false。
備註
在區間起始處寫入正好 8 位元組。