Project

General

Profile

$decode » History » Version 7

Per Amundsen, 11/30/2018 06:36 AM

1 1 Per Amundsen
_Added in 1.9.0_
2
3 5 Per Amundsen
*$decode(text|&binvar, bmut, N)*
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 3 Per Amundsen
abhmut - a = base32 decoding, b indicates a &binvar is specified, h = hmtl coded decoding, m = mine decoding, u = Uuencode. (h is AdiIRC only)
15 7 Per Amundsen
N - TODO?
16 4 Per Amundsen
17
<pre>
18
; UUencode 'test'.
19
//echo -ag $encode(test)
20
21
; UUencode 'test', then decode it.
22
//echo -ag $decode($encode(test))
23
</pre>
24 6 Per Amundsen
25
-------------------------
26
27
*$decode(%var | &binvar, switches, key, [salt | iv])*
28
29
TODO