public static Offset <TransferTransactionBuffer> CreateTransferTransactionBuffer(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 recipientOffset = default(VectorOffset),
                                                                                  ushort messageSize           = 0,
                                                                                  byte numMosaics = 0,
                                                                                  Offset <MessageBuffer> messageOffset = default(Offset <MessageBuffer>),
                                                                                  VectorOffset mosaicsOffset           = default(VectorOffset))
 {
     builder.StartObject(12);
     TransferTransactionBuffer.AddMosaics(builder, mosaicsOffset);
     TransferTransactionBuffer.AddMessage(builder, messageOffset);
     TransferTransactionBuffer.AddRecipient(builder, recipientOffset);
     TransferTransactionBuffer.AddDeadline(builder, deadlineOffset);
     TransferTransactionBuffer.AddMaxFee(builder, maxFeeOffset);
     TransferTransactionBuffer.AddVersion(builder, version);
     TransferTransactionBuffer.AddSigner(builder, signerOffset);
     TransferTransactionBuffer.AddSignature(builder, signatureOffset);
     TransferTransactionBuffer.AddSize(builder, size);
     TransferTransactionBuffer.AddMessageSize(builder, messageSize);
     TransferTransactionBuffer.AddType(builder, type);
     TransferTransactionBuffer.AddNumMosaics(builder, numMosaics);
     return(TransferTransactionBuffer.EndTransferTransactionBuffer(builder));
 }
 public static TransferTransactionBuffer GetRootAsTransferTransactionBuffer(ByteBuffer _bb, TransferTransactionBuffer obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }