.. # split from OESystemFunctions.rst:1733

.. include:: ../substitutions

.. oe:namespace:: OESystem

.. meta::
   :keywords: OEMakeHex

.. oe:function:: OEMakeHex

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

      .. oe:api::

         bool OEMakeHex(std::string& hex, const OEBitVector &,
                        unsigned int columns = 0)

   .. oe:language:: python

      .. oe:api:: python

         OEMakeHex(hex: str, arg2: OEBitVector, columns: int = 0) -> bool

   Generates a hexadecimal string representation of an :ref:`OEBitVector <OESystem_OEBitVector>`.

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

      .. oe:api::

         bool OEMakeHex(std::string &, const std::vector<bool> &,
                        unsigned int columns = 0)

   .. oe:language:: python

      .. oe:api:: python

         OEMakeHex(arg1: str, arg2: List[bool], columns: int = 0) -> bool

   Generates a hexadecimal string representation of a boolean vector.

   .. seealso::

      * :oe:func:`OESystem::OEParseHex` function
      * :oe:meth:`OESystem::OEBitVector::FromHexString` and :oe:meth:`OESystem::OEBitVector::ToHexString` method method


