LlBase64ToString/fr

From Second Life Wiki
< LlBase64ToString
Revision as of 14:56, 21 March 2008 by Gally Young (talk | contribs) (Localized to french)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

Fonction: string llBase64ToString( string str );

Renvoie un string correspondant au décodage d'un str encodé en base64 en un string conventionnel

• string str Base64 string

Avertissements

  • Si la conversion renvoie des caractères non imprimables, ils sont convertis en blanc.
  • Converts invalid characters into question marks ('?').

Exemples

Peut être utilisé dans les identifications standards telles que les logins

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=");

renvera  "Secret:Open"

<lsl> default {

   state_entry()
   {
       string test = llBase64ToString("U2VjcmV0Ok9wZW4=");
       llSay(0,test );
   }

} </lsl>

Voir également

Fonctions

•  llStringToBase64 Convertit un string en string base64
•  llBase64ToInteger Convertit un string base64 en integer

Articles

•  Base64
Vous cherchez encore des informations ? Peut-être cette page du LSLwiki pourra vous renseigner.