Binary :: append - Append binary data
The function appends binary data to the binary data currently stored in the binary data block.
Constant reference to a binary data block handle, which may contain binary data up to 2 GB.
Implementation overview
- Add single byte to binary data block
Binary :: append ( iValue, iCount ) - Append binary data block
Binary :: append ( cBinary )
Implementation details
-
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.
to list
- iValue
- Integer value
-
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.
to list
- cBinary
- Binary data block handle