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