mwbot-ts - v1.2.7
    Preparing search index...

    Function byteLength

    • Calculate the byte length of a string (accounting for UTF-8).

      Parameters

      • str: string

      Returns number