Difference between revisions of "LlBase64ToInteger"
Jump to navigation
Jump to search
All Issues ~ Search JIRA for related Bugs
Line 1: | Line 1: | ||
{{LSL_Function|func_id=281|func_sleep=0.0|func_energy=10.0|func=llBase64ToInteger|sort=Base64ToInteger|return_type=integer|p1_type=string|p1_name=str | {{LSL_Function | ||
|return_text=that is | |func_id=281|func_sleep=0.0|func_energy=10.0 | ||
| | |func=llBase64ToInteger|sort=Base64ToInteger | ||
|return_type=integer|p1_type=string|p1_name=str | |||
|return_text=that is '''str''' {{LSLG|Base64}} decoded as a big endian integer. | |||
|spec | |||
|caveats=*If '''str''' contains fewer then 6 characters the return is unpredictable. | |||
**[[User:Strife Onizuka|BW]]: I think it ignores the null and reads 6 bytes regardless which would explain why the return is unpredictable. | |||
|constants | |||
|examples | |||
|helpers | |||
|also_functions=*{{LSLG|llIntegerToBase64}} | |||
|also_events | |||
|also_tests | |||
|also_articles | |||
|notes | |||
|permission | |||
|negative_index | |||
|cat1=Base64 | |||
|cat2 | |||
|cat3 | |||
|cat4 | |||
}} |
Revision as of 15:41, 10 February 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: integer llBase64ToInteger( string str );281 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns an integer that is str Base64 decoded as a big endian integer.
• string | str |
Caveats
- 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.