company logo

Binary :: right - Get rightmost bytes of binary data block

The function returns a binary data block that contains the rightmost bytes of the current 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 details

odaba::Binary Binary  :: right ( int32 iCount )

The function returns a binary data block that contains the iCount rightmost bytes of the current data block.

The entire data block is returned when iCount is greater than length() or less than zero. Passing 0 in iCount returns an empty data block.

  • iCount - Number of items

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