These functions will convert any heterogeneous array or tree of arrays into a binary string and back. The format is platform independent.
deserialize (serialize (x))
is the identity function.
These functions are useful for persisting heterogeneous arrays.
The serialization can be stored as a blob, so that there is no practical length limit. The string length is however limited to 16 MB.