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

Serialization of abstract values of level 0

Function: ap_membuf_t ap_abstract0_serialize_raw (ap_manager_t* man, ap_abstract0_t* a)
Allocate a memory buffer (with malloc), output a in raw binary format to it and return a pointer on the memory buffer and the number of bytes written. It is the user responsability to free the memory afterwards (with free).

Function: ap_abstract0_t* ap_abstract0_deserialize_raw (ap_manager_t* man, void* ptr, size_t* size)
Return the abstract value read in raw binary format from the buffer pointed by ptr and store in size the number of bytes read.

This document was generated on September, 10 2009 using texi2html