company logo

Binary :: append - Append binary data

The function appends binary data to the binary data currently stored in the binary data block.

Return value:  Binary data block handle ( odaba::Binary & )

Constant reference to a binary data block handle, which may contain binary data up to 2 GB.

Implementation overview

Implementation details

  1. Add single byte to binary data block
    odaba::Binary & Binary  :: append ( int32 iValue, int32 iCount )

    The function iCount times appends the value passed in iValue as single byte at the end of the binary data block. iValue must not be below 0 and above 255. Otherwise, the function throws an exception. An exception is also thrown for iCount below zero.

    • iValue - Integer value

      The value is passed as platform independent 32-bit integer value.

    • iCount - Number of items

      The value contains the number of items to be processed or stored in a collection.

  2. to list
  3. Append binary data block
    odaba::Binary & Binary  :: append ( odaba::Binary &cBinary )

    The function appends the binary data block passed in cBinary.

    • cBinary - Binary data block handle

      Constant reference to a binary data block handle, which may contain binary data up to 2 GB.

  4. to list