Converts an unsigned integer to an array of bytes.
Namespace:
Classless.Hasher.UtilitiesAssembly: Classless.Hasher (in Classless.Hasher.dll) Version: 0.8.3649.33599
Syntax
C# |
---|
public static byte[] UIntToByte( uint data ) |
Visual Basic (Declaration) |
---|
Public Shared Function UIntToByte ( _ data As UInteger _ ) As Byte() |
Visual C++ |
---|
public: static array<unsigned char>^ UIntToByte( unsigned int data ) |
Parameters
- data
- Type: System..::.UInt32
The unsigned integer to convert.
Return Value
The unsigned integer represented as a byte array.
Remarks
Assumes Little Endian.