Example #1
0
 public void Write(Stream hs)
 {
     if (PackInfo != null)
     {
         hs.WriteByte((Byte)PropertyID.kPackInfo);
         PackInfo.Write(hs);
     }
     if (UnPackInfo != null)
     {
         hs.WriteByte((Byte)PropertyID.kUnPackInfo);
         UnPackInfo.Write(hs);
     }
     if (SubStreamsInfo != null)
     {
         hs.WriteByte((Byte)PropertyID.kSubStreamsInfo);
         SubStreamsInfo.Write(hs);
     }
     hs.WriteByte((Byte)PropertyID.kEnd);
 }