IBinaryInteger<TSelf>.WriteBigEndian Method   
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[]) | 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
- 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[] -> intPublic Overridable Function WriteBigEndian (destination As Byte()) As IntegerParameters
- 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
- 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> -> intPublic Overridable Function WriteBigEndian (destination As Span(Of Byte)) As IntegerParameters
Returns
The number of bytes written to destination.
Applies to
WriteBigEndian(Byte[], Int32)
- Source:
- IBinaryInteger.cs
- 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 -> intPublic Overridable Function WriteBigEndian (destination As Byte(), startIndex As Integer) As IntegerParameters
- 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.