.. # split from OESystemFunctions.rst:374

.. include:: ../substitutions

.. oe:namespace:: OESystem

.. meta::
   :keywords: OEBitVectorNumBytes

.. oe:function:: OEBitVectorNumBytes

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

      .. oe:api::

         inline size_t OEBitVectorNumBytes(size_t bits)

   .. oe:language:: python

      .. oe:api:: python

         OEBitVectorNumBytes(bits: int) -> int

   Returns the number of words required to store the number of bits
   passed as the ``bits`` parameter, rounded up to a multiple of
   machine word size.


