public void addToStreamEx(Bundle stream, BAN_INFOS v) { stream.writeInt32(v.dbid); stream.writeInt32(v.accountId); stream.writeUnicode(v.startTime); stream.writeUnicode(v.finishTime); stream.writeUnicode(v.reason); stream.writeInt8(v.state); }
public BAN_INFOS createFromStreamEx(MemoryStream stream) { BAN_INFOS datas = new BAN_INFOS(); datas.dbid = stream.readInt32(); datas.accountId = stream.readInt32(); datas.startTime = stream.readUnicode(); datas.finishTime = stream.readUnicode(); datas.reason = stream.readUnicode(); datas.state = stream.readInt8(); return(datas); }