public override void write(Object obj1, BOutput bout1, long version) { PointInfo obj = (PointInfo)obj1; BOutputBin bout = (BOutputBin)bout1; BBufferBin bbuf = bout.bbuf; // checkpoint byps.gen.cs.PrintContext:494 bbuf.putInt(obj.x); // checkpoint byps.gen.cs.PrintContext:494 bbuf.putInt(obj.y); }
public override Object read(Object obj1, BInput bin1, long version) { BInputBin bin = (BInputBin)bin1; PointInfo obj = (PointInfo)(obj1 != null ? obj1 : bin.onObjectCreated(new PointInfo())); BBufferBin bbuf = bin.bbuf; // checkpoint byps.gen.cs.PrintContext:449 obj.x = bbuf.getInt(); // checkpoint byps.gen.cs.PrintContext:449 obj.y = bbuf.getInt(); return(obj); }
public PointInfo(PointInfo rhs) { this.xValue = rhs.xValue; this.yValue = rhs.yValue; }