void ICapnpSerializable.Deserialize(DeserializerState arg_) { var reader = READER.create(arg_); SealFor = CapnpSerializable.Create <TOwner>(reader.SealFor); applyDefaults(); }
Task <AnswerOrCounterquestion> Save(DeserializerState d_, CancellationToken cancellationToken_) { using (d_) { return(Impatient.MaybeTailCall(Impl.Save(CapnpSerializable.Create <Capnp.Persistent <TSturdyRef, TOwner> .SaveParams>(d_), cancellationToken_), r_ => { var s_ = SerializerState.CreateForRpc <Capnp.Persistent <TSturdyRef, TOwner> .SaveResults.WRITER>(); r_.serialize(s_); return s_; } )); } }
public Task <Capnp.Persistent <TSturdyRef, TOwner> .SaveResults> Save(Capnp.Persistent <TSturdyRef, TOwner> .SaveParams arg_, CancellationToken cancellationToken_ = default) { var in_ = SerializerState.CreateForRpc <Capnp.Persistent <TSturdyRef, TOwner> .SaveParams.WRITER>(); arg_?.serialize(in_); return(Impatient.MakePipelineAware(Call(14468694717054801553UL, 0, in_.Rewrap <DynamicSerializerState>(), false, cancellationToken_), d_ => { using (d_) { var r_ = CapnpSerializable.Create <Capnp.Persistent <TSturdyRef, TOwner> .SaveResults>(d_); return r_; } } )); }