[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.33 Serialization and importing/exporting objects

Procedures for serialization and importing/exporting objects.

Function: serializable? obj

returns #t if the object can serialize.

Function: serialize-datum binary-output-port obj

serializes the object and writes to the binary port.

Function: deserialize-datum binary-input-port

reads from the binary port and deserialize it.

Function: export-datum filepath obj

exports the object to the given file.

Function: import-datum filepath

imports the object from the given file.


[ << ] [ < ] [ Up ] [ > ] [ >> ]

This document was generated on August 9, 2012 using texi2html 5.0.