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

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

Syntax

C#
public static byte[] ULongToByte(
	ulong[] array,
	int offset,
	int length
)
Visual Basic
Public Shared Function ULongToByte ( _
	array As ULong(), _
	offset As Integer, _
	length As Integer _
) As Byte()
Visual C++
public:
static array<unsigned char>^ ULongToByte(
	array<unsigned long long>^ array, 
	int offset, 
	int length
)

Parameters

array
Type: array<System..::..UInt64>[]()[][]
The array to convert.
offset
Type: System..::..Int32
Position in the array to begin the conversion.
length
Type: System..::..Int32
How many unsigned long integers in the array to convert.

Return Value

The unsigned long integers represented as a byte array.

Remarks

Assumes Little Endian.

See Also