internal static Offset <SecretProofTransactionBuffer> CreateSecretProofTransactionBuffer(FlatBufferBuilder builder,
                                                                                          uint size = 0,
                                                                                          VectorOffset signatureOffset = default(VectorOffset),
                                                                                          VectorOffset signerOffset    = default(VectorOffset),
                                                                                          ushort version              = 0,
                                                                                          ushort type                 = 0,
                                                                                          VectorOffset feeOffset      = default(VectorOffset),
                                                                                          VectorOffset deadlineOffset = default(VectorOffset),
                                                                                          byte hashAlgorithm          = 0,
                                                                                          VectorOffset secretOffset   = default(VectorOffset),
                                                                                          ushort proofSize            = 0,
                                                                                          VectorOffset proofOffset    = default(VectorOffset))
 {
     builder.StartObject(11);
     SecretProofTransactionBuffer.AddProof(builder, proofOffset);
     SecretProofTransactionBuffer.AddSecret(builder, secretOffset);
     SecretProofTransactionBuffer.AddDeadline(builder, deadlineOffset);
     SecretProofTransactionBuffer.AddFee(builder, feeOffset);
     SecretProofTransactionBuffer.AddSigner(builder, signerOffset);
     SecretProofTransactionBuffer.AddSignature(builder, signatureOffset);
     SecretProofTransactionBuffer.AddSize(builder, size);
     SecretProofTransactionBuffer.AddProofSize(builder, proofSize);
     SecretProofTransactionBuffer.AddType(builder, type);
     SecretProofTransactionBuffer.AddVersion(builder, version);
     SecretProofTransactionBuffer.AddHashAlgorithm(builder, hashAlgorithm);
     return(SecretProofTransactionBuffer.EndSecretProofTransactionBuffer(builder));
 }
 internal static SecretProofTransactionBuffer GetRootAsSecretProofTransactionBuffer(ByteBuffer _bb, SecretProofTransactionBuffer obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }