函数原型
func toUintString(s1 string, direction string) string
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
toUintString函数主要是用来将传入的字符串按 direction 读取为一个整数,返回该整数的字符串形式
func toUintString(s1 string, direction string) string
| 参数名称 | 参数介绍 |
|---|---|
| s1 | 待转换数据 |
| direction | 按照什么字节序进行转换 |
| 待转换数据 | 转换语句 | 输出结果 |
|---|---|---|
BABC | toUintString("BABC", "<") | 1128415554 |
BABC | toUintString("BABC", ">") | 1111573059 |
Was this page helpful?
