Converts an array of unsigned short integers 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[] UShortToByte( ushort[] array, EndianType endian ) |
Visual Basic |
---|
Public Shared Function UShortToByte ( _ array As UShort(), _ endian As EndianType _ ) As Byte() |
Visual C++ |
---|
public: static array<unsigned char>^ UShortToByte( array<unsigned short>^ array, EndianType endian ) |
Parameters
- array
- Type: array<System..::..UInt16>[]()[][]
The array to convert.
- endian
- Type: Classless.Hasher..::..EndianType
The order in which to store the bytes.