Extracted from Pike v7.4 release 35 at 2003-12-09.
pike.ida.liu.se
[Top]
predef::

Method decode_value()


Method decode_value

mixed decode_value(string coded_value, object|void codec)

Description

Decode a value from a string.

This function takes a string created with encode_value() or encode_value_canonic() and converts it back to the value that was coded.

If no codec is specified, the current master object will be used as codec.

See also

encode_value() , encode_value_canonic()