@get-milano/core 2.1.0
    Preparing search index...

    Function utf8ByteLength

    • The UTF-8 byte length of a string, computed without a platform encoder so the document-size limit means the same thing everywhere.

      Parameters

      • text: string

      Returns number