circu.js
    Preparing search index...

    Function decodeU16String

    • Like new TextDecoder('utf-16').decode(buffer) Decode to text

      Note circu.js supports Uint8Array but not recommended

      Parameters

      • buffer: ArrayBuffer | Uint16Array<ArrayBufferLike>

        Buffer containing text

      Returns string