.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OEInitDefaultHandler

.. oe:function:: OEInitDefaultHandler

   .. oe:language:: c++ java csharp

      .. oe:api::

         bool OEInitDefaultHandler(OESystem::OEBinaryIOHandlerBase& hand,
                                   bool compressMCMol = false,
                                   bool useZstd = false)

   .. oe:language:: python

      .. oe:api:: python

         OEInitDefaultHandler(hand: OEBinaryIOHandlerBase,
                              compressMCMol: bool = False,
                              useZstd: bool = False) -> bool

   This function is equivalent to calling
   :oe:func:`OEChem::OEInitHandler` with the return value of
   :oe:func:`OEChem::OEBDefaultOpts` as both arguments.
