예제 #1
0
 public void Export(Writer w)
 {
     w.WriteLine(gOpe.ToString());
     if (prm != null)
     {
         w.WriteLine(prm.ToString());
     }
     w.WriteLine("Image_Data");
     byte[] data = DeflateStream();
     int i = 0;
     foreach (byte b in data)
     {
         if (i % 16 == 0)
         {
             if (i != 0) w.WriteLine();
             w.Write(i.zToHex());
         }
         w.Write(" {0}", b.zToHex());
         i++;
     }
     if (i != 0) w.WriteLine();
     w.WriteLine("Image_End");
 }