Int128.IBinaryInteger<Int128>.TryWriteLittleEndian 方法

定义

尝试将当前值(以小端格式)写入给定范围。

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

参数

destination
Span<Byte>
bytesWritten
Int32

返回

Boolean

true 如果该值被成功写入, destination则为 ;否则为 false

实现

适用于