Converts an array of unsigned integers to an array of bytes.

Namespace: LLCryptoLib.Hash
Assembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)

Syntax

C#
public static byte[] UIntToByte(
	uint[] array,
	int offset,
	int length,
	EndianType endian
)
Visual Basic
Public Shared Function UIntToByte ( _
	array As UInteger(), _
	offset As Integer, _
	length As Integer, _
	endian As EndianType _
) As Byte()
Visual C++
public:
static array<unsigned char>^ UIntToByte(
	array<unsigned int>^ array, 
	int offset, 
	int length, 
	EndianType endian
)

Parameters

array
Type: array<System..::..UInt32>[]()[][]
The array to convert.
offset
Type: System..::..Int32
Position in the array to begin the conversion.
length
Type: System..::..Int32
How many unsigned integers in the array to convert.
endian
Type: LLCryptoLib.Hash..::..EndianType
The order in which to store the bytes.

Return Value

The unsigned integers represented as a byte array.

See Also