Class Avogadro::Core::MoleculeDeserializer#

class Avogadro::Core::MoleculeDeserializer : public Deserializer#

Implementation of ProtoCall::Serialization::Deserializer.

<avogadro/protocall/moleculdeeserializer.h>

Public Functions

MoleculeDeserializer(Molecule *molecule)#
Parameters

molecule – The molecule to deserialize into.

bool deserialize(const void *data, size_t size)#

Deserialize buffer into molecules.

Parameters
  • data – The buffer containing the molecule byte stream.

  • size – The size of the buffer.

Returns

true if successful, false otherwise.