ערוך

שתף באמצעות


IBinaryInteger<TSelf>.WriteLittleEndian Method

Definition

Overloads

WriteLittleEndian(Byte[])

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

WriteLittleEndian(Span<Byte>)

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

WriteLittleEndian(Byte[], Int32)

Writes the current value, in little-endian format, to a specified array starting at a specified index.

WriteLittleEndian(Byte[])

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

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

public:
 virtual int WriteLittleEndian(cli::array <System::Byte> ^ destination);
public virtual int WriteLittleEndian (byte[] destination);
abstract member WriteLittleEndian : byte[] -> int
override this.WriteLittleEndian : byte[] -> int
Public Overridable Function WriteLittleEndian (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

WriteLittleEndian(Span<Byte>)

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

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

public:
 virtual int WriteLittleEndian(Span<System::Byte> destination);
public virtual int WriteLittleEndian (Span<byte> destination);
abstract member WriteLittleEndian : Span<byte> -> int
override this.WriteLittleEndian : Span<byte> -> int
Public Overridable Function WriteLittleEndian (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

WriteLittleEndian(Byte[], Int32)

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

Writes the current value, in little-endian format, to a specified array starting at a specified index.

public:
 virtual int WriteLittleEndian(cli::array <System::Byte> ^ destination, int startIndex);
public virtual int WriteLittleEndian (byte[] destination, int startIndex);
abstract member WriteLittleEndian : byte[] * int -> int
override this.WriteLittleEndian : byte[] * int -> int
Public Overridable Function WriteLittleEndian (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