Beta
Converts a string to a Uint16Array.
The string to convert
A Uint16Array representation of the string
{@includeCode ../test/stringToUint16.test.ts#example} Copy
{@includeCode ../test/stringToUint16.test.ts#example}
Converts a string to a Uint16Array.