code: public int[] readInts (int length, boolean optimizePositive) throws KryoException {
  		if (varEncoding) {
  			int[] array = new int[length];
  			for (int i = 0; i < length; i++)
  				array[i] = readVarInt(optimizePositive);
  			return array;
  		}
  		return readInts(length);
  	}
docs: Reads an int array in bulk using fixed or variable length encoding, depending on
  {@link #setVariableLengthEncoding(boolean)}. This may be more efficient than reading them individually.