Example #1
0
 public override void Save(HSDWriter Writer)
 {
     if (Writer.Mode == WriterWriteMode.BUFFER && Data.Length > 0)
     {
         Writer.AddBuffer(this);
         Writer.Write(Data);
         if (Writer.BaseStream.Position % 4 > 0)
         {
             Writer.Write(4 - (Writer.BaseStream.Position % 4));
         }
     }
 }