Documentation
    Preparing search index...

    Function stringToUint16

    • Beta

      Converts a string to a Uint16Array.

      Parameters

      • str: string

        The string to convert

      Returns Uint16Array<ArrayBuffer>

      A Uint16Array representation of the string

      {@includeCode ../test/stringToUint16.test.ts#example}