out.writeBoolean(bundle.isSingleton());
	private void writeBundleDescription(BundleDescriptionImpl bundle, DataOutputStream out) throws IOException {		if (writePrefix(bundle, out))			return;				out.writeLong(bundle.getBundleId());		writeStringOrNull(bundle.getUniqueId(), out);		writeStringOrNull(bundle.getLocation(), out);		out.writeInt(bundle.getState());		writeVersion(bundle.getVersion(), out);		writeHostSpec((HostSpecificationImpl) bundle.getHost(), out);		PackageSpecification[] packages = bundle.getPackages();		out.writeInt(packages.length);		for (int i = 0; i < packages.length; i++)			writePackageSpec((PackageSpecificationImpl) packages[i], out);		String[] providedPackages = bundle.getProvidedPackages();		out.writeInt(providedPackages.length);		for (int i = 0; i < providedPackages.length; i++)			out.writeUTF(providedPackages[i]);		BundleSpecification[] requiredBundles = bundle.getRequiredBundles();		out.writeInt(requiredBundles.length);		for (int i = 0; i < requiredBundles.length; i++)			writeBundleSpec((BundleSpecificationImpl) requiredBundles[i], out);	}