1Builtins.unmarshal(3kaya) Kaya module reference Builtins.unmarshal(3kaya)
2
3
4
6 Builtins::unmarshal - Unmarshal a string
7
9 any unmarshal( String x, Int id )
10
12 x The String to unmarshal
13
14 id The unmarshalling ID
15
17 Convert a String generated with Builtins.marshal (3kaya) into a vari‐
18 able of the appropriate type.
19
20 This must be done with care, since the type you get depends on the
21 String, so make sure you know what you are doing! The id given must
22 match the id given when marshalling or an Exception is generated.
23
24 An Exception will also be generated if the function table of the cur‐
25 rent program does not match the function table of the marshal()ing pro‐
26 gram.
27
29 Kaya standard library by Edwin Brady, Chris Morris and others
30 (kaya@kayalang.org). For further information see http://kayalang.org/
31
33 The Kaya standard library is free software; you can redistribute it
34 and/or modify it under the terms of the GNU Lesser General Public
35 License (version 2.1 or any later version) as published by the Free
36 Software Foundation.
37
39 Builtins.marshal (3kaya)
40 Pickle.unpickle (3kaya)
41
42
43
44Kaya December 2010 Builtins.unmarshal(3kaya)