UInt128.IBinaryInteger<UInt128>.TryWriteBigEndian 方法

定义

尝试将当前值(采用 big-endian 格式)写入给定范围。

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

参数

destination
Span<Byte>
bytesWritten
Int32

返回

Boolean

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

实现

适用于