public static Offset <ModifyMetadataTransactionBuffer> CreateModifyMetadataTransactionBuffer(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 metadataType                = 0,
                                                                                              VectorOffset metadataIdOffset    = default(VectorOffset),
                                                                                              VectorOffset modificationsOffset = default(VectorOffset))
 {
     builder.StartObject(10);
     ModifyMetadataTransactionBuffer.AddModifications(builder, modificationsOffset);
     ModifyMetadataTransactionBuffer.AddMetadataId(builder, metadataIdOffset);
     ModifyMetadataTransactionBuffer.AddDeadline(builder, deadlineOffset);
     ModifyMetadataTransactionBuffer.AddMaxFee(builder, maxFeeOffset);
     ModifyMetadataTransactionBuffer.AddVersion(builder, version);
     ModifyMetadataTransactionBuffer.AddSigner(builder, signerOffset);
     ModifyMetadataTransactionBuffer.AddSignature(builder, signatureOffset);
     ModifyMetadataTransactionBuffer.AddSize(builder, size);
     ModifyMetadataTransactionBuffer.AddType(builder, type);
     ModifyMetadataTransactionBuffer.AddMetadataType(builder, metadataType);
     return(ModifyMetadataTransactionBuffer.EndModifyMetadataTransactionBuffer(builder));
 }
 public static ModifyMetadataTransactionBuffer GetRootAsModifyMetadataTransactionBuffer(ByteBuffer _bb, ModifyMetadataTransactionBuffer obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }