IBinaryInteger.WriteBigEndian Method (System.Numerics) (original) (raw)
- Reference
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WriteBigEndian(Byte[])
Source:
Source:
Source:
Source:
Writes the current value, in big-endian format, to a given array.
public:
virtual int WriteBigEndian(cli::array <System::Byte> ^ destination);
public virtual int WriteBigEndian(byte[] destination);
abstract member WriteBigEndian : byte[] -> int
override this.WriteBigEndian : byte[] -> int
Public Overridable Function WriteBigEndian (destination As Byte()) As Integer
Parameters
destination
Byte[]
The array to which the current value should be written.
Returns
The number of bytes written to destination
.
Applies to
WriteBigEndian(Span)
Source:
Source:
Source:
Source:
Writes the current value, in big-endian format, to a given span.
public:
virtual int WriteBigEndian(Span<System::Byte> destination);
public virtual int WriteBigEndian(Span<byte> destination);
abstract member WriteBigEndian : Span<byte> -> int
override this.WriteBigEndian : Span<byte> -> int
Public Overridable Function WriteBigEndian (destination As Span(Of Byte)) As Integer
Parameters
destination
The span to which the current value should be written.
Returns
The number of bytes written to destination
.
Applies to
WriteBigEndian(Byte[], Int32)
Source:
Source:
Source:
Source:
Writes the current value, in big-endian format, to a given array.
public:
virtual int WriteBigEndian(cli::array <System::Byte> ^ destination, int startIndex);
public virtual int WriteBigEndian(byte[] destination, int startIndex);
abstract member WriteBigEndian : byte[] * int -> int
override this.WriteBigEndian : byte[] * int -> int
Public Overridable Function WriteBigEndian (destination As Byte(), startIndex As Integer) As Integer
Parameters
destination
Byte[]
The array to which the current value should be written.
startIndex
The starting index at which the value should be written.
Returns
The number of bytes written to destination
starting at startIndex
.