[#EVP_DecodeFinal]
= EVP&lowbar;DecodeFinal
:mrdocs:

Finish a Base64 decode, flushing any remaining decoded bytes&period;

== Synopsis

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

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

== Return Value

1 on success, or a negative value on decode error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Decode context previously used with EVP&lowbar;DecodeUpdate()&period;
| *out*
| Buffer receiving final decoded bytes&period;
| *outl*
| Receives the number of bytes written to `out&period;`
|===


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