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]); } ; }
public MAILLIST createFromStreamEx(MemoryStream stream) { UInt32 size = stream.readUint32(); MAILLIST datas = new MAILLIST(); while (size > 0) { --size; datas.Add(itemType.createFromStreamEx(stream)); } ; return(datas); }