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

Namespace: LLCryptoLib.Hash
Assembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)

Syntax

C#
public static ushort[] ByteToUShort(
	byte[] array
)
Visual Basic
Public Shared Function ByteToUShort ( _
	array As Byte() _
) As UShort()
Visual C++
public:
static array<unsigned short>^ ByteToUShort(
	array<unsigned char>^ array
)

Parameters

array
Type: array<System..::..Byte>[]()[][]
The array to convert.

Return Value

The unsigned short integers represented as a byte array.

Remarks

Assumes Little Endian.

See Also