private boolean matchByte(ByteBuffer bbuf) throws IOException {
		short found = (short) ((bbuf.get(0) & 0xff) & (short)getMask(typeStr));

		if (operation.equals(MagicMimeEntryOperation.EQUALS)) {
			return found == contentNumber;
		} else if (operation.equals(MagicMimeEntryOperation.NOT_EQUALS)) {
			return found != contentNumber;
		} else if (operation.equals(MagicMimeEntryOperation.GREATER_THAN)) {
			return found > contentNumber;
		} else if (operation.equals(MagicMimeEntryOperation.LESS_THAN)) {
			return found < contentNumber;
		} else if (operation.equals(MagicMimeEntryOperation.AND)) {
			boolean result = (found & contentNumber) == contentNumber;
			return result;
		} else if (operation.equals(MagicMimeEntryOperation.ANY)) {
			return true;
		} else if (operation.equals(MagicMimeEntryOperation.CLEAR)) {
			long maskedFound = found & contentNumber;
			boolean result = (maskedFound ^ contentNumber) == 0;
			return result;
		} else if (operation.equals(MagicMimeEntryOperation.NEGATED)) {
			int negatedFound = ~found;
			return negatedFound == contentNumber;
		} else
			return false;
	}