OEB files generated through these functions will only be readable by OEChem 2.0.2 (2014.Oct) and higher.

bool OEPRECompress(oemolstreambase &str)

Enables the oemolostream to write rotor-offset-compressed molecules in the perfect-rotor-encoding format, even for float precision molecules. This alleviates the need to GZip the OEB, improving the performance of OEMolDatabase.Open.


To compress data for ROCS/FastROCS at the OEMCMolBase level instead of oemolostream see OEPrepareFastROCSMol.