“LlBase64ToString”的版本间的差异
(创建页面,内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}} {{函数详情 |函数名=Function: string llBase64ToString( string str ); |参数= 参数:str…”) |
|||
第38行: | 第38行: | ||
|相关函数= [[LlXorBase64]] – Article also discusses xor based Cryptography. | |相关函数= [[LlXorBase64]] – Article also discusses xor based Cryptography. | ||
− | [[ | + | [[LlStringToBase64]] |
− | [[ | + | [[LlBase64ToInteqer]] |
}} | }} |
2020年4月12日 (日) 14:23的版本
首页 | 函数 | 事件 | 类型 | 操作符 | 常数 | Flow Control | Script Library | Categorized Library | Tutorials |
函数名 |
---|
Function: string llBase64ToString( string str ); |
参数:string str – Base64 string |
返回值:Returns a string that is the Base64 str decoded into a conventional string. |
注意事项 |
---|
If the conversion creates any unprintable characters, they are converted to spaces.
Converts invalid characters into question marks ('?'). |
示例 |
---|
default { state_entry() { string test = llBase64ToString("U2VjcmV0Ok9wZW4="); llSay(0,test ); } } This can be used in Basic Authentication, such as this login: GET / HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2) Host: www.example.com Authorization: Basic U2VjcmV0Ok9wZW4= llBase64ToString("U2VjcmV0Ok9wZW4="); //will return the string "Secret:Open" |
相关函数 |
---|
LlXorBase64 – Article also discusses xor based Cryptography. |
相关事件 |
---|
无 |