コード例 #1
0
 public static Offset <AccountLinkTransactionBuffer> CreateAccountLinkTransactionBuffer(FlatBufferBuilder builder,
                                                                                        uint size = 0,
                                                                                        VectorOffset signatureOffset = default(VectorOffset),
                                                                                        VectorOffset signerOffset    = default(VectorOffset),
                                                                                        uint version = 0,
                                                                                        ushort type  = 0,
                                                                                        VectorOffset maxFeeOffset           = default(VectorOffset),
                                                                                        VectorOffset deadlineOffset         = default(VectorOffset),
                                                                                        VectorOffset remoteAccountKeyOffset = default(VectorOffset),
                                                                                        byte linkAction = 0)
 {
     builder.StartObject(9);
     AccountLinkTransactionBuffer.AddRemoteAccountKey(builder, remoteAccountKeyOffset);
     AccountLinkTransactionBuffer.AddDeadline(builder, deadlineOffset);
     AccountLinkTransactionBuffer.AddMaxFee(builder, maxFeeOffset);
     AccountLinkTransactionBuffer.AddVersion(builder, version);
     AccountLinkTransactionBuffer.AddSigner(builder, signerOffset);
     AccountLinkTransactionBuffer.AddSignature(builder, signatureOffset);
     AccountLinkTransactionBuffer.AddSize(builder, size);
     AccountLinkTransactionBuffer.AddType(builder, type);
     AccountLinkTransactionBuffer.AddLinkAction(builder, linkAction);
     return(AccountLinkTransactionBuffer.EndAccountLinkTransactionBuffer(builder));
 }
コード例 #2
0
 public static AccountLinkTransactionBuffer GetRootAsAccountLinkTransactionBuffer(ByteBuffer _bb, AccountLinkTransactionBuffer obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }