SYNOPSIS

any unmarshal( String x, Int id )

ARGUMENTS

x The String to unmarshal

id The unmarshalling ID

DESCRIPTION

Convert a String generated with Builtins.marshal (3kaya) into a variable of the appropriate type.

This must be done with care, since the type you get depends on the String, so make sure you know what you are doing! The id given must match the id given when marshalling or an Exception is generated.

An Exception will also be generated if the function table of the current program does not match the function table of the marshal()ing program.

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see http://kayalang.org/

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

RELATED

Builtins.marshal (3kaya)

Pickle.unpickle (3kaya)