[#OSSL_DECODER_from_bio]
= OSSL&lowbar;DECODER&lowbar;from&lowbar;bio
:mrdocs:

Run decoding from a BIO into objects handled by the context&apos;s construct callback&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OSSL&lowbar;DECODER&lowbar;from&lowbar;bio(
    xref:OSSL_DECODER_CTX.adoc[OSSL&lowbar;DECODER&lowbar;CTX]* ctx,
    xref:BIO.adoc[BIO]* in);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Configured decoder context&period;
| *in*
| Input BIO (preferably binary mode)&period;
|===


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