Binary object serialization


The serialize vocabulary implements binary serialization for all Factor data types except for continuations. Unlike the prettyprinter, shared structure and circularity is preserved.

Storing objects on streams:
serialize ( obj -- )

deserialize ( -- obj )


Storing objects as byte arrays:
object>bytes ( obj -- bytes )

bytes>object ( bytes -- obj )