Binary :: chop - Remove count bytes from the end
The function removes a number of bytes from the end of the binary data block. In order to remove characters from the beginning of the binary data block, one may use erase() with position zero, instead.
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  :: chop ( int32 iCount )
The function removes iCount characters from the end of the Binary object.
If iCount is greater than length(), the binary data block will be cleared and the result is an empty Binary object.
When iCount is less or equal to zero, the function throws an exception.
- iCount
- Number of items
The value contains the number of items to be processed or stored in a collection.

