Difference between revisions of "LlBase64ToInteger"

From Second Life Wiki
Jump to: navigation, search
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 the big endian {{LSLG|Base64}} '''str''' decoded into an integer.
+
|func_id=281|func_sleep=0.0|func_energy=10.0
|spec|caveats|examples|helpers|related|also|notes}}[[Category:LSL_Base64]][[Category:LSL_Stub]]
+
|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

Summary

Function: integer llBase64ToInteger( string str );

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.
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Functions

Deep Notes

Search JIRA for related Issues

Signature

function integer llBase64ToInteger( string str );