Binary :: indexOf - Position in binary area
The function returns the position of the content of the binary area passed in cBinary within a binary area of the current instance.
The function returns the position (relative 0) of the first occurrence of data looked up. When not being found, the function returns -1.
The position of an element in a collection is beginning with 0 for the first element.
Implementation overview
- Search for binary block
 Binary :: indexOf ( cBinary )
- Star searching at position
 Binary :: indexOf ( cBinary, iPosition )
Implementation details
- 
Search for binary block
 int32 Binary  :: indexOf ( odaba::Binary &cBinary )
 The function searched for the first occurrence of 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
- 
Star searching at position
 int32 Binary  :: indexOf ( odaba::Binary &cBinary, int32 iPosition )
 The function returns the position of the first occurrence of cBinary starting searching at position passed in iPosition. - cBinary
 - Binary data block handle
Constant reference to a binary data block handle, which may contain binary data up to 2 GB. 
- iPosition
 - Position in collection
The position of an element in a collection is beginning with 0 for the first element. 
 to list
- cBinary
 - Binary data block handle

