public int getAttributeSize() {
		int size = 2; /* attribute count */
		if (unknownAttributes != null) {
			Iterator i = unknownAttributes.values().iterator();
			while (i.hasNext())
				size += 2 + 4 + ((byte[]) i.next()).length;
		}
		return size;
	}