.. # split from OESystemFunctions.rst:141

.. include:: ../substitutions

.. oe:namespace:: OESystem

.. meta::
   :keywords: OEBFloatEndian

.. oe:function:: OEBFloatEndian

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

      .. oe:api::

         unsigned char OEBFloatEndian()
         bool OEBFloatEndian(unsigned int)

   .. oe:language:: python

      .. oe:api:: python

         OEBFloatEndian() -> str
         OEBFloatEndian(arg1: int) -> bool

   The first overload returns a character representing the endian-ness
   of a ``float`` or ``double`` so that ``float`` or ``double`` data
   can be directly written to a file. The second overload interprets
   this character and returns ``true`` if the data will need to be
   swapped to match the current machine endian-ness.


