public override void write(Object obj1, BOutput bout1, long version)
        {
            base.write(obj1, bout1, version);
            UrlParams  obj  = (UrlParams)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.highlightTerms);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putLong(obj.length);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putLong(obj.offset);
        }
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            UrlParams obj = (UrlParams)(obj1 != null ? obj1 : bin.onObjectCreated(new UrlParams()));

            base.read(obj, bin1, version);
            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.highlightTerms = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.length = bbuf.getLong();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.offset = bbuf.getLong();

            return(obj);
        }
Esempio n. 3
0
 public UrlParams(UrlParams rhs) : base(rhs)
 {
     this.lengthValue         = rhs.lengthValue;
     this.offsetValue         = rhs.offsetValue;
     this.highlightTermsValue = rhs.highlightTermsValue;
 }