Int16.IBinaryInteger<Int16>.TryWriteBigEndian メソッド

定義

現在の値をビッグ エンディアン形式で特定のスパンに書き込もうとします。

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

パラメーター

destination
Span<Byte>

現在の値を書き込むスパン。

bytesWritten
Int32

このメソッドから戻るときに、destination に書き込まれたバイト数を格納します。

戻り値

true 値が に正常に書き込まれた場合は destination。それ以外の場合 falseは 。

実装

適用対象