Esempio n. 1
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            AllTypesZ  obj  = (AllTypesZ)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putBoolean(obj.Bool1);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putByte(obj.Byte1);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putChar(obj.Char1);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putDouble(obj.Double1);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putFloat(obj.Float1);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.Int1);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putLong(obj.Long1);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putShort(obj.Short1);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.String1);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.Byte2, false, byps.test.api.BSerializer_1374008726.instance);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.Hebrew1, false, null);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.Hebrew2, false, byps.test.api.BSerializer_92445340.instance);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.Int2, false, byps.test.api.BSerializer_100361105.instance);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.String2, true, byps.test.api.BSerializer_1888107655.instance);
        }
Esempio n. 2
0
		public AllTypesZ(AllTypesZ rhs)
		{
			this.bool1Value = rhs.bool1Value;
			this.byte1Value = rhs.byte1Value;
			this.char1Value = rhs.char1Value;
			this.short1Value = rhs.short1Value;
			this.int1Value = rhs.int1Value;
			this.long1Value = rhs.long1Value;
			this.float1Value = rhs.float1Value;
			this.double1Value = rhs.double1Value;
			this.string1Value = rhs.string1Value;
			this.hebrew1Value = rhs.hebrew1Value;
			this.byte2Value = rhs.byte2Value;
			this.int2Value = rhs.int2Value;
			this.string2Value = rhs.string2Value;
			this.hebrew2Value = rhs.hebrew2Value;
		}		
Esempio n. 3
0
 public AllTypesZ(AllTypesZ rhs)
 {
     this.bool1Value   = rhs.bool1Value;
     this.byte1Value   = rhs.byte1Value;
     this.char1Value   = rhs.char1Value;
     this.short1Value  = rhs.short1Value;
     this.int1Value    = rhs.int1Value;
     this.long1Value   = rhs.long1Value;
     this.float1Value  = rhs.float1Value;
     this.double1Value = rhs.double1Value;
     this.string1Value = rhs.string1Value;
     this.hebrew1Value = rhs.hebrew1Value;
     this.byte2Value   = rhs.byte2Value;
     this.int2Value    = rhs.int2Value;
     this.string2Value = rhs.string2Value;
     this.hebrew2Value = rhs.hebrew2Value;
 }
Esempio n. 4
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            AllTypesZ obj = (AllTypesZ)(obj1 != null ? obj1 : bin.onObjectCreated(new AllTypesZ()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.Bool1 = bbuf.getBoolean();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.Byte1 = bbuf.getByte();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.Char1 = bbuf.getChar();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.Double1 = bbuf.getDouble();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.Float1 = bbuf.getFloat();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.Int1 = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.Long1 = bbuf.getLong();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.Short1 = bbuf.getShort();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.String1 = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.Byte2 = (byte[])bin.readObj(false, byps.test.api.BSerializer_1374008726.instance);
            // checkpoint byps.gen.cs.PrintContext:449
            obj.Hebrew1 = (byps.test.api.cons.HebrewZ)bin.readObj(false, null);
            // checkpoint byps.gen.cs.PrintContext:449
            obj.Hebrew2 = (byps.test.api.cons.HebrewZ[])bin.readObj(false, byps.test.api.BSerializer_92445340.instance);
            // checkpoint byps.gen.cs.PrintContext:449
            obj.Int2 = (int[])bin.readObj(false, byps.test.api.BSerializer_100361105.instance);
            // checkpoint byps.gen.cs.PrintContext:449
            obj.String2 = (String[])bin.readObj(false, byps.test.api.BSerializer_1888107655.instance);

            return(obj);
        }