Kaya 0.4.4 reference for Builtins::unmarshal

List of functions and data types in Builtins

any unmarshal(String x, Int id)

Arguments

Usage

Convert a String generated with marshal 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.

Related

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya