binarySearch64(search: Byte; index: Integer64 io): Boolean;
The binarySearch64 method of the ByteArray class sets the index parameter to the position in the array of the element specified in the search parameter as an
The code fragment in the following example shows the use of the binarySearch64 method.
if not bytes.includes(byte) then bytes.binarySearch64(byte, pos); bytes.insert(pos + 1, byte); endif;