company logo

Binary :: left - Get leftmost bytes of binary data block

The function returns a binary data block that contains the iCount leftmost 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.

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  :: left ( int32 iCount )
  • iCount - Number of items

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