unpack
| Syntax |
unpack (binaryAddr, valueAddr)
|
| Params |
binaryAddr is the address where the binary version of a value is stored. valueAddr is the address where the unpacked version of the value is to be stored.
|
| Action |
Unpacks the binary data at binaryAddr into its original datatype, as indicated by the binaryType, and puts the result into valueAddr.
|
| Returns |
True
|
| Examples |
unpack (@x, @root.temp) » true // root.temp now contains the value that was packed into x
|
| Errors |
If the binaryType of the value at binaryAddr is not one of Frontier's standard datatypes, or if the packed binary data does not correspond to that datatype, an error will occur.
|
| Notes |
Normally, the value at binaryAddr should have been created by either the pack or binary verb.
|
| See Also |
pack
|