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

Namespace:  Classless.Hasher.Utilities
Assembly:  Classless.Hasher (in Classless.Hasher.dll) Version: 0.8.3649.33599

Syntax

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

Parameters

array
Type: array< System..::.Byte >[]()[]
The array to convert.
offset
Type: System..::.Int32
Position in the array to begin the conversion.
length
Type: System..::.Int32
How many bytes in the array to convert.
endian
Type: Classless.Hasher..::.EndianType
The order in which to read the bytes.

Return Value

The unsigned integers represented as a byte array.

Exceptions

ExceptionCondition
System..::.ArgumentExceptionWhen the range specified for the array is invalid, or if the length specified does not represent full UInt values.

See Also