Project

General

Profile

$decode » History » Revision 9

Revision 8 (Per Amundsen, 11/30/2018 06:36 AM) → Revision 9/20 (Per Amundsen, 11/30/2018 06:37 AM)

_Added in 1.9.0_ 

 *$decode(text|&binvar, amubth, N)* 

 Decodes text or &binvar using Uuencode, Mime or html codes. 

 If decoding a &binvar, returns the actual number of characters written to the &binvar. 

 Default is Uuencode. 

 *Parameters* 

 text|&binvar - The text or a &binvar to decode. 
 abhmut - a = base32 decoding, b indicates a &binvar is specified, h = hmtl coded decoding, m = mine decoding, u = Uuencode and t = text. Uuencode. (h is AdiIRC only) 
 N - TODO? 

 <pre> 
 ; UUencode 'test'. 
 //echo -ag $encode(test) 

 ; UUencode 'test', then decode it. 
 //echo -ag $decode($encode(test)) 
 </pre> 

 ------------------------- 

 *$decode(%var | &binvar, switches, key, [salt | iv])* 

 TODO