示例#1
0
 public void ReadFrom(IDataInputStream stream)
 {
     dm     = stream.ReadBoolean();
     id     = stream.ReadString();
     name   = stream.ReadString();
     avatar = InputStreamHelper.ReadGuid(stream);
 }
示例#2
0
		public override void ReadFrom(IDataInputStream stream) {
			int innerType = stream.ReadInt32();
			if (innerType == 0) {
				innerMessage = null;
			} else {
				innerMessage = New(innerType);
				innerMessage.ReadFrom(stream);
			}
			guid = InputStreamHelper.ReadGuid(stream);
			resp = stream.ReadBoolean();
		}