Hive
    Preparing search index...

    Function encodeUriComponent

    • 编码 URI 组件,内部使用原生 encodeURIComponent 实现

      设计此函数的目的是为了在 hive-dart、hive-go 中对齐相同的函数

      Parameters

      • str: string

        要编码的字符串

      Returns string

      编码后的字符串