private Integer parseInt() throws StreamCorruptedException {
		StringBuffer lenStr = new StringBuffer();
		while (input.remaining() > 0) {
			char ch = input.get();
			if (ch == ';') {
				//indexPlus(1);
				break;
			} else {
				lenStr.append(ch);
			}
		}

		Integer value = 0;
		try {
			value = Integer.valueOf(lenStr.toString());
		} catch (Throwable e) {
			throw new StreamCorruptedException("Integer value" + lenStr + " failed to go to float at" + String.valueOf(input.position()));
		}
		objHistory.add(value);
		return value;
	}