code: private int scanForOne(byte[] data , int index , int end ) {
  		while (index < end && data[index] != 1) {
  			index++;
  		}
  		return index;
  	}
docs: Faster when there's a specialized function which searches for one pixels