Exemple #1
0
 public void addToStreamEx(Bundle stream, MAILLIST v)
 {
     stream.writeUint32((UInt32)v.Count);
     for (int i = 0; i < v.Count; ++i)
     {
         itemType.addToStreamEx(stream, v[i]);
     }
     ;
 }
Exemple #2
0
        public MAILLIST createFromStreamEx(MemoryStream stream)
        {
            UInt32   size  = stream.readUint32();
            MAILLIST datas = new MAILLIST();

            while (size > 0)
            {
                --size;
                datas.Add(itemType.createFromStreamEx(stream));
            }
            ;

            return(datas);
        }