Convert byte array to u16 array
| C# | Visual Basic | Visual C++ |
public static ushort[] ToU16s( ICollection<byte> bytes )
Public Shared Function ToU16s ( _ bytes As ICollection(Of Byte) _ ) As UShort()
public: static array<unsigned short>^ ToU16s( ICollection<unsigned char>^ bytes )
- bytes (ICollection<(Of <(Byte>)>))
- Input bytes
Output words