共用方式為


Int32.IBinaryInteger<Int32>.TryWriteLittleEndian 方法

定義

嘗試將目前值以小到尾格式寫入指定的範圍。

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

參數

destination
Span<Byte>
bytesWritten
Int32

傳回

Boolean

true 如果值已順利寫入 ,則為 destinationfalse 否則為 。

實作

適用於