.. oe:namespace:: OEDataFlow

..  _OEDataFlow_OERecordFromBytes:

.. meta::
   :keywords: OERecordFromBytes OERecord datarecord

.. oe:language:: c++

   .. oe:function:: OERecordFromBytes
   
      .. oe:api::
   
         bool OERecordFromBytes(OERecord& record, const OEBytes& buf)
   
      Reads an :ref:`OERecord <OEDataFlow_OERecord>` object from bytes in
      a binary format.
   
      .. seealso::
   
         * :ref:`OERecord <OEDataFlow_OERecord>`
         * :oe:func:`OEDataFlow::OERecordToBytes`
   
.. oe:language:: python

   .. oe:function:: OERecordFromBytes
   
      .. oe:api::
   
         OERecordFromBytes(record: OERecord, buf: bytes) -> bool
   
      Reads an :ref:`OERecord <OEDataFlow_OERecord>` object from bytes in
      a binary format.
   
      .. seealso::
   
         * :ref:`OERecord <OEDataFlow_OERecord>`
         * :oe:func:`OEDataFlow::OERecordToBytes`
  
   .. oe:function:: record_from_bytes

      **record_from_bytes** is an alias to
      :ref:`OERecordFromBytes <OEDataFlow_OERecordFromBytes>`.
