[#EVP_EncodeFinal]
= EVP&lowbar;EncodeFinal
:mrdocs:

Flush remaining Base64&hyphen;encoded output from an encode context&period;

== Synopsis

Declared in `&lt;openssl&sol;evp&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
EVP&lowbar;EncodeFinal(
    xref:EVP_ENCODE_CTX.adoc[EVP&lowbar;ENCODE&lowbar;CTX]* ctx,
    unsigned char* out,
    int* outl);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Encode context previously used with EVP&lowbar;EncodeUpdate()&period;
| *out*
| Buffer receiving the final encoded bytes (and trailing newline when applicable)&period;
| *outl*
| Receives the number of bytes written to `out&period;`
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
