.. oe:namespace:: OEDataFlow

..  _OEDataFlow_OERecordToBytes:

.. meta::
   :keywords: OERecordToBytes OERecord datarecord

.. oe:language:: c++

   .. oe:function:: OERecordToBytes
   
      .. oe:api::
   
         OEBytes OERecordToBytes(const OERecord& record)
   
      Converts an :ref:`OERecord <OEDataFlow_OERecord>` object to bytes
      in a binary format.
   
      .. seealso::
   
         * :ref:`OERecord <OEDataFlow_OERecord>`
         * :oe:func:`OEDataFlow::OERecordFromBytes`

.. oe:language:: python

   .. oe:function:: OERecordToBytes
   
      .. oe:api::
   
         OERecordToBytes(record: OERecord) -> bytes
   
      Converts an :ref:`OERecord <OEDataFlow_OERecord>` object to bytes
      in a binary format.
   
      .. seealso::
   
         * :ref:`OERecord <OEDataFlow_OERecord>`
         * :oe:func:`OEDataFlow::OERecordFromBytes`

   .. oe:function:: record_to_bytes

      record_to_bytes is an alias to the 
      :oe:func:`OEDataFlow::OERecordToBytes` function.

