Bagikan melalui


BigInteger.IBinaryInteger<BigInteger>.TryWriteBigEndian Metode

Definisi

Mencoba menulis nilai saat ini, dalam format big-endian, ke rentang tertentu.

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

Parameter

destination
Span<Byte>

Rentang tempat nilai saat ini harus ditulis.

bytesWritten
Int32

Ketika metode ini kembali, berisi jumlah byte yang ditulis ke destination.

Mengembalikan

true jika nilai berhasil ditulis ke destination; jika tidak, false.

Penerapan

Berlaku untuk