// checkpoint byps.gen.cs.GenRemoteStub:133 public async Task SetImagesAsync(IDictionary <int, System.IO.Stream> istrms, int doNotReadStreamAtKey) { BRequest_RemoteStreams_setImages req = new BRequest_RemoteStreams_setImages(); req.istrmsValue = istrms; req.doNotReadStreamAtKeyValue = doNotReadStreamAtKey; Task <Object> task = Task <Object> .Factory.FromAsync(transport.BeginSend <Object>, transport.EndSend <Object>, req, null); await task; }
public override void write(Object obj1, BOutput bout1, long version) { BRequest_RemoteStreams_setImages obj = (BRequest_RemoteStreams_setImages)obj1; BOutputBin bout = (BOutputBin)bout1; BBufferBin bbuf = bout.bbuf; // checkpoint byps.gen.cs.PrintContext:494 bbuf.putInt(obj.doNotReadStreamAtKeyValue); // checkpoint byps.gen.cs.PrintContext:494 bout.writeObj(obj.istrmsValue, false, byps.test.api.BSerializer_779528402.instance); }
public override Object read(Object obj1, BInput bin1, long version) { BInputBin bin = (BInputBin)bin1; BRequest_RemoteStreams_setImages obj = (BRequest_RemoteStreams_setImages)(obj1 != null ? obj1 : bin.onObjectCreated(new BRequest_RemoteStreams_setImages())); BBufferBin bbuf = bin.bbuf; // checkpoint byps.gen.cs.PrintContext:449 obj.doNotReadStreamAtKeyValue = bbuf.getInt(); // checkpoint byps.gen.cs.PrintContext:449 obj.istrmsValue = (IDictionary <int, System.IO.Stream>)bin.readObj(false, null); return(obj); }