# OEPreserveRotCompress¶

bool OEPreserveRotCompress(oemolstreambase &str)


Instructs the oemolstreambase to preserve rotor-offset-compression data on OEMCMolBase objects when being read from the OEB file format. This should be called on the oemolistream object if the molecule needs to be output and preserve compression.

Warning

Altering the coordinates or connection table of an OEMCMolBase molecule that has been read through this mechanism is undefined. Modifications to conformer coordinates will likely be lost. Modifications to the connection table will likely result in an error during OEWriteMolecule.