Function: fromUTF16()
fromUTF16(
buffer
:string
):Uint16Array
Converts a string to a Uint16Array.
Parameters
Parameter | Type | Description |
---|---|---|
buffer | string | The string to convert |
Returns
The generated Uint16Array
fromUTF16(
buffer
:string
):Uint16Array
Converts a string to a Uint16Array.
Parameter | Type | Description |
---|---|---|
buffer | string | The string to convert |
The generated Uint16Array