Редагувати

Поділитися через


IBinaryInteger<TSelf>.WriteBigEndian Method

Definition

Overloads

WriteBigEndian(Byte[])

Writes the current value, in big-endian format, to a given array.

WriteBigEndian(Span<Byte>)

Writes the current value, in big-endian format, to a given span.

WriteBigEndian(Byte[], Int32)

Writes the current value, in big-endian format, to a given array.

WriteBigEndian(Byte[])

Source:
IBinaryInteger.cs
Source:
IBinaryInteger.cs
Source:
IBinaryInteger.cs

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<Byte>)

Source:
IBinaryInteger.cs
Source:
IBinaryInteger.cs
Source:
IBinaryInteger.cs

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
Span<Byte>

The span to which the current value should be written.

Returns

The number of bytes written to destination.

Applies to

WriteBigEndian(Byte[], Int32)

Source:
IBinaryInteger.cs
Source:
IBinaryInteger.cs
Source:
IBinaryInteger.cs

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
Int32

The starting index at which the value should be written.

Returns

The number of bytes written to destination starting at startIndex.

Applies to