“LlBase64ToInteger”的版本间的差异
(创建页面,内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}} {{函数详情 |函数名=Function: integer llBase64ToInteger( string str ); |参数= 参数:…”) |
|||
第10行: | 第10行: | ||
|注意事项=If str contains fewer then 6 characters the return is unpredictable. | |注意事项=If str contains fewer then 6 characters the return is unpredictable. | ||
− | BW: I think it ignores the null and reads 6 bytes regardless which would explain why the return is unpredictable. | + | BW: I think it ignores the null and reads 6 bytes regardless which would explain why the return is unpredictable. |
+ | |||
Returns zero if str is longer then 8 characters. | Returns zero if str is longer then 8 characters. | ||
2020年4月12日 (日) 13:56的版本
首页 | 函数 | 事件 | 类型 | 操作符 | 常数 | Flow Control | Script Library | Categorized Library | Tutorials |
函数名 |
---|
Function: integer llBase64ToInteger( string str ); |
参数: string str – Base64 string |
返回值:Returns an integer that is str Base64 decoded as a big endian integer. |
注意事项 |
---|
If str contains fewer then 6 characters the return is unpredictable.
BW: I think it ignores the null and reads 6 bytes regardless which would explain why the return is unpredictable. Returns zero if str is longer then 8 characters. |
示例 |
---|
integer value = llBase64ToInteger("3q0AAA=="); // writes out -559087616 llOwnerSay((string)value |
相关函数 |
---|
无 |
相关事件 |
---|
无 |