- Method decode_value
Decode a value from the string
This function takes a string created with encode_value() or encode_value_canonic() and converts it back to the value that was coded.
codecis specified, it's used as the codec for the decode. If none is specified, then one is instantiated through
master()->Decoder(). As a compatibility fallback, the master itself is used if it has no
codecis the special value
-1, then decoding of types, functions, programs and objects is disabled.
coded_valuethat you have not generated yourself is a security risk that can lead to execution of arbitrary code, unless
codecis specified as
- See also