コード例 #1
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            NoteImage  obj  = (NoteImage)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.fileName);
            // checkpoint byps.gen.cs.PrintContext:494
            bout.writeObj(obj.fileData, false, null);
        }
コード例 #2
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            NoteImage obj = (NoteImage)(obj1 != null ? obj1 : bin.onObjectCreated(new NoteImage()));

            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.fileName = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.fileData = (EloixClient.IndexServer.FileData)bin.readObj(false, null);

            return(obj);
        }
コード例 #3
0
ファイル: NoteImage.cs プロジェクト: ThomasEcherer/elo
 public NoteImage(NoteImage rhs)
 {
     this.fileNameValue = rhs.fileNameValue;
     this.fileDataValue = rhs.fileDataValue;
 }