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