public static Offset <RemoveExchangeOfferTransactionBuffer> CreateRemoveExchangeOfferTransactionBuffer(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),
                                                                                                        byte offersCount            = 0,
                                                                                                        VectorOffset offersOffset   = default(VectorOffset))
 {
     builder.StartObject(9);
     RemoveExchangeOfferTransactionBuffer.AddOffers(builder, offersOffset);
     RemoveExchangeOfferTransactionBuffer.AddDeadline(builder, deadlineOffset);
     RemoveExchangeOfferTransactionBuffer.AddMaxFee(builder, maxFeeOffset);
     RemoveExchangeOfferTransactionBuffer.AddVersion(builder, version);
     RemoveExchangeOfferTransactionBuffer.AddSigner(builder, signerOffset);
     RemoveExchangeOfferTransactionBuffer.AddSignature(builder, signatureOffset);
     RemoveExchangeOfferTransactionBuffer.AddSize(builder, size);
     RemoveExchangeOfferTransactionBuffer.AddType(builder, type);
     RemoveExchangeOfferTransactionBuffer.AddOffersCount(builder, offersCount);
     return(RemoveExchangeOfferTransactionBuffer.EndRemoveExchangeOfferTransactionBuffer(builder));
 }
 public static RemoveExchangeOfferTransactionBuffer GetRootAsRemoveExchangeOfferTransactionBuffer(ByteBuffer _bb, RemoveExchangeOfferTransactionBuffer obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }