Пример #1
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            BResult_1374008726 obj  = (BResult_1374008726)obj1;
            BOutputBin         bout = (BOutputBin)bout1;
            BBufferBin         bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.resultValue, false, byps.test.api.BSerializer_1374008726.instance);
        }
Пример #2
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin          bin = (BInputBin)bin1;
            BResult_1374008726 obj = (BResult_1374008726)(obj1 != null ? obj1 : bin.onObjectCreated(new BResult_1374008726()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.resultValue = (byte[])bin.readObj(false, byps.test.api.BSerializer_1374008726.instance);

            return(obj);
        }