public void write()
	{
		int size = 0;

		if (streamOperator != null)
		{
			streamOperator.input = input;

			if (streamOperator.isStaticSize())
				size += streamOperator.getWriteSize();
			else
				size += streamOperator.calculateWriteSize();
		}

		if (headerOperator.isStaticSize())
			size += headerOperator.getWriteSize();
		else
			size += headerOperator.calculateWriteSize();

		headerInput.set(0, size);
		headerInput.set(1, type);

		headerOperator.input = headerInput;
		headerOperator.deserialize(source);

		if (streamOperator != null)
			streamOperator.deserialize(source);
	}