Extracted from Pike v7.8 release 866 at 2016-11-06.
pike.ida.liu.se
[Top]

Method decode_value()


Method decode_value

mixed decode_value(string coded_value, void|Codec codec)

Description

Decode a value from the string coded_value .

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

If codec is specified, it's used as the codec for the decode. If no codec is specified, the current master object will be used.

See also

encode_value() , encode_value_canonic()