Converts an unsigned long integer to an array of bytes.
Namespace: Classless.Hasher.UtilitiesAssembly: Classless.Hasher (in Classless.Hasher.dll) Version: 0.9.4179.24336
Syntax
C# |
---|
public static byte[] ULongToByte( ulong data, EndianType endian ) |
Visual Basic |
---|
Public Shared Function ULongToByte ( _ data As ULong, _ endian As EndianType _ ) As Byte() |
Visual C++ |
---|
public: static array<unsigned char>^ ULongToByte( unsigned long long data, EndianType endian ) |
Parameters
- data
- Type: System..::..UInt64
The unsigned long integer to convert.
- endian
- Type: Classless.Hasher..::..EndianType
The order in which to store the bytes.