Converts an array of unsigned short integers 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[] UShortToByte( ushort[] array ) |
Visual Basic (Declaration) |
---|
Public Shared Function UShortToByte ( _ array As UShort() _ ) As Byte() |
Visual C++ |
---|
public: static array<unsigned char>^ UShortToByte( array<unsigned short>^ array ) |
Parameters
- array
- Type: array<
System..::.UInt16
>[]()[]
The array to convert.
Return Value
The unsigned short integers represented as a byte array.
Remarks
Assumes Little Endian.