gmkitx API - v0.10.1
    正在准备搜索索引...

    函数 isBase64String

    • 检测字符串是否为 Base64 格式 优化:使用位运算和字符码判断,避免正则表达式开销

      参数

      • str: string

        要检测的字符串

      返回 boolean

      如果是 Base64 格式返回 true