The OEReadMolecule and OEWriteMolecule functions take a generic
version of the OEChem stream. This means that while it is more common to use
files streams, a user can certainly pass a string stream to these functions.
The OEChem stringstream objects are oeisstream and oeosstream.