示例#1
0
		public Stream1(Stream1 rhs)
		{
			this.is1Value = rhs.is1Value;
			this.contentTypeValue = rhs.contentTypeValue;
			this.arrStreamValue = rhs.arrStreamValue;
			this.listStreamValue = rhs.listStreamValue;
			this.mapStreamValue = rhs.mapStreamValue;
		}		
示例#2
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            Stream1    obj  = (Stream1)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.ContentType);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.ArrStream, false, byps.test.api.BSerializer_1950626768.instance);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.Is1, false, null);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.ListStream, false, byps.test.api.BSerializer_1218831438.instance);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.MapStream, false, byps.test.api.BSerializer_779528402.instance);
        }
示例#3
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            Stream1   obj = (Stream1)(obj1 != null ? obj1 : bin.onObjectCreated(new Stream1()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.ContentType = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.ArrStream = (System.IO.Stream[])bin.readObj(false, byps.test.api.BSerializer_1950626768.instance);
            // checkpoint byps.gen.cs.PrintContext:449
            obj.Is1 = (System.IO.Stream)bin.readObj(false, null);
            // checkpoint byps.gen.cs.PrintContext:449
            obj.ListStream = (IList <System.IO.Stream>)bin.readObj(false, null);
            // checkpoint byps.gen.cs.PrintContext:449
            obj.MapStream = (IDictionary <int, System.IO.Stream>)bin.readObj(false, null);

            return(obj);
        }