Implementation of ProtoCall::Serialization::Serializer.
More...
#include <moleculeserializer.h>
<avogadro/protocall/moleculeserializer.h>
◆ MoleculeSerializer()
- Parameters
-
molecule | The molecule being serialized |
◆ serialize()
bool serialize |
( |
void * |
data, |
|
|
size_t |
size |
|
) |
| |
Serialize the molecule to that buffer provided.
- Parameters
-
data | The buffer to serialize the molecule into. |
size | The size of the buffer. |
- Returns
- true if successful, false otherwise.
◆ size()
- Returns
- The size of the serialized molecule when written to byte stream.
The documentation for this class was generated from the following file: