.. # split from OESystemFunctions.rst:190

.. include:: ../substitutions
.. include:: ../../toolkit-substitutions

.. oe:namespace:: OESystem

.. meta::
   :keywords: OEBReadData

.. attention::

   |CPPONLY|

.. oe:function:: OEBReadData

   .. oe:api::

      template<class T>
      bool OEBReadData(OEPlatform::oeistream& ifs, T& t, bool swab)
      template<class T>
      bool OEBReadData(OEPlatform::oeistream& ifs, T t, size_t nbytes,
                       bool swab)
