Project

General

Profile

$decode » History » Revision 8

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

_Added in 1.9.0_ 

 *$decode(text|&binvar, amubth, bmut, 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. (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