Project

General

Profile

Actions

$decode » History » Revision 13

« Previous | Revision 13/20 (diff) | Next »
Per Amundsen, 12/11/2018 01:11 PM


Added in 1.9.0

$decode(text|&binvar, abmuthx)

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.

See also $encode.

Parameters

text|&binvar - The text or a &binvar to decode.
abmuth - a = base32 encoding, b indicates a &binvar is specified, h = hmtl coded encoding, m = mine encoding, u = Uuencode (default), t = text (default), h = hex decode. (h and x is AdiIRC only)

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

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

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

TODO

Updated by Per Amundsen about 6 years ago · 13 revisions

Also available in: PDF HTML TXT