예제 #1
0
 public void Save(BinaryWriter bw)
 {
     InfoHeader.Save(bw);
     for (var i = 0; i < ColorMap.Length; i++)
     {
         ColorMap[i].Save(bw);
     }
 }
예제 #2
0
 public void Save(BinaryWriter bw)
 {
     Header.Save(bw);
     for (var i = 0; i < Colors.Length; i++)
     {
         Colors[i].Save(bw);
     }
     bw.Write(Xor);
     bw.Write(And);
 }