private int _getInputStreamMarkLength() {
		switch (getType()) {
		case MagicMimeEntry.STRING_TYPE: {
			int len = 0;
			// Lets check if its a between test
			int index = typeStr.indexOf(">");
			if (index != -1) {
				len = Integer.parseInt(typeStr.substring(index + 1, typeStr
						.length() - 1));
				isBetween = true;
			} else {
				if (getContent() != null) // TODO content should never be null!
											// We should already prevent this
											// when parsing the magic file.
					len = getContent().length();
			}
			return getCheckBytesFrom() + len + 1;
		}

		case MagicMimeEntry.SHORT_TYPE:
		case MagicMimeEntry.LESHORT_TYPE:
		case MagicMimeEntry.BESHORT_TYPE: {
			return getCheckBytesFrom() + 2;
		}

		case MagicMimeEntry.LELONG_TYPE:
		case MagicMimeEntry.BELONG_TYPE: {
			return getCheckBytesFrom() + 4;
		}

		case MagicMimeEntry.BYTE_TYPE: {
			return getCheckBytesFrom() + 1;
		}

		default: {
			return 0;
		}
		}
	}