Project

General

Profile

$decode » History » Version 11

Per Amundsen, 12/01/2018 12:08 AM

1 1 Per Amundsen
_Added in 1.9.0_
2
3 11 Per Amundsen
*$decode(text|&binvar, abmuth)*
4 1 Per Amundsen
5
Decodes text or &binvar using Uuencode, Mime or html codes.
6
7
If decoding a &binvar, returns the actual number of characters written to the &binvar.
8
9
Default is Uuencode.
10
11
*Parameters*
12
13
text|&binvar - The text or a &binvar to decode.
14 7 Per Amundsen
abmuth - a = base32 encoding, b indicates a &binvar is specified, h = hmtl coded encoding, m = mine encoding, u = Uuencode (default), t = text (default). (h is AdiIRC only)
15 4 Per Amundsen
16
<pre>
17
; UUencode 'test'.
18
//echo -ag $encode(test)
19
20
; UUencode 'test', then decode it.
21
//echo -ag $decode($encode(test))
22
</pre>
23 6 Per Amundsen
24
-------------------------
25
26
*$decode(%var | &binvar, switches, key, [salt | iv])*
27
28
TODO