Static Public Member Functions | |
char * | encode (const rdaData &data, unsigned long &size) |
Converts the specified data object into its bynary representation. | |
rdaData * | decode (const char *buffer, unsigned long bufferSize) |
Constructs an rdaData object from its binary representation in buffer. |
This is similar to the Java object serialization (which can also be applied to the Java Data objects), but the DataCodec uses a language independent format (Common Data Representation, or CDR) to serialize objects. The CDR encoded Data objects can be stored in a file or a database, and can be passed between C++ and Java applications.
|
Constructs an rdaData object from its binary representation in buffer.
|
|
Converts the specified data object into its bynary representation.
|