.. # split from OEPlatformFunctions.rst:667

.. include:: ../substitutions

.. oe:namespace:: OEPlatform

.. meta::
   :keywords: OEUncompress

.. oe:function:: OEUncompress

   .. oe:api::

      bool OEUncompress(std::string& dst, const std::string& src,
                        const char* fmt = "gz")
      bool OEUncompress(std::string& dst, const char* src, size_t size,
                        const char* fmt = "gz")

   Uncompresses the data in the compressed data buffer, ``src``, 
   using the specified compression format, ``fmt``, and stores the uncompressed
   data in the uncompressed string ``dst``. Returns whether or not the
   specified compression format was available and if the data was
   successfully uncompressed using that format.

