# Functions
ContainsChinese 检查字符串是否包含中文字符.
FormatFileSize 按所给字节数转换相应存储单位 保留两位小数点.
FromBytes byte数组转字符串, 使用unsafe.Pointer来转换不同类型的指针,没有底层数据的拷贝.
GetStrIndex 获取字符串指定下标的字符, idx 从0开始计算.
LenOfUTF8 字符串在utf8编码下的长度,一个中文算1.
MD5 获取字符串MD5值.
No description provided by the author
SliceOfChar 将字符串每个字符抽出来,组成字符串数组 eg: "hi中国" -> ["h", "i", "中", "国"].
SubOfUTF8 带中文字符串切割.
ToBytes 字符串转byte数组, 使用unsafe.Pointer来转换不同类型的指针,没有底层数据的拷贝.
ToFloat64 字符串转数字,错误则返回默认值.
ToInt 字符串转数字,错误则返回默认值.
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author