protected void skipAttributes(DataInputStream input) throws IOException {
		int count = input.readUnsignedShort();
		for (int i = 0; i < count; i++) {
			input.readUnsignedShort(); // the name index
			long length = input.readInt();
			while (length > 0) {
				long skipped = input.skip(length);
				if (skipped == 0)
					throw new EOFException("Can't skip. EOF?");
				length -= skipped;
			}
		}
	}