Binary :: chop - Remove count bytes from the end
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 zero, the function throws an exception.
In order to remove characters from the beginning of the string, 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 )
- iCount
- Number of items
The value contains the number of items to be processed or stored in a collection.