public static void save(bloResource resource, string name, XmlWriter writer) { if (resource != null) { resource.save(name, writer); } }
public static void save(bloResource resource, aBinaryWriter writer) { if (resource != null) { resource.save(writer); } else { writer.Write8(0); writer.Write8(0); } }