Beispiel #1
0
 public bool ReadSio(Stream instream)
 {
     Sio.SDataBuff d = new Sio.SDataBuff();
     if (d.UnSerializ(instream))
     {
         Sio.SListReader l = d.listReader;
         if (l != null)
         {
             Sio.SDataBuff b = new Sio.SDataBuff();
             while (l.Next(b))
             {
                 Sio.SMapReader mr = b.mapReader;
                 if (mr != null)
                 {
                     NStruct n = new NStruct();
                     if (n.Unsrial(mr))
                     {
                         Add(n);
                     }
                 }
             }
             return(true);
         }
     }
     return(false);
 }