public static Offset <LockFundsTransactionBuffer> CreateLockFundsTransactionBuffer(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 mosaicIdOffset     = default(VectorOffset),
                                                                                    VectorOffset mosaicAmountOffset = default(VectorOffset),
                                                                                    VectorOffset durationOffset     = default(VectorOffset),
                                                                                    VectorOffset hashOffset         = default(VectorOffset))
 {
     builder.StartObject(11);
     LockFundsTransactionBuffer.AddHash(builder, hashOffset);
     LockFundsTransactionBuffer.AddDuration(builder, durationOffset);
     LockFundsTransactionBuffer.AddMosaicAmount(builder, mosaicAmountOffset);
     LockFundsTransactionBuffer.AddMosaicId(builder, mosaicIdOffset);
     LockFundsTransactionBuffer.AddDeadline(builder, deadlineOffset);
     LockFundsTransactionBuffer.AddMaxFee(builder, maxFeeOffset);
     LockFundsTransactionBuffer.AddVersion(builder, version);
     LockFundsTransactionBuffer.AddSigner(builder, signerOffset);
     LockFundsTransactionBuffer.AddSignature(builder, signatureOffset);
     LockFundsTransactionBuffer.AddSize(builder, size);
     LockFundsTransactionBuffer.AddType(builder, type);
     return(LockFundsTransactionBuffer.EndLockFundsTransactionBuffer(builder));
 }
 public static LockFundsTransactionBuffer GetRootAsLockFundsTransactionBuffer(ByteBuffer _bb, LockFundsTransactionBuffer obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }