[#OSSL_DECODER_from_data]
= OSSL&lowbar;DECODER&lowbar;from&lowbar;data
:mrdocs:

Run decoding from a memory buffer, advancing &ast;`pdata` past consumed bytes&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;data(
    xref:OSSL_DECODER_CTX.adoc[OSSL&lowbar;DECODER&lowbar;CTX]* ctx,
    unsigned char const** pdata,
    size&lowbar;t* pdata&lowbar;len);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Configured decoder context&period;
| *pdata*
| Address of a pointer to the input bytes&semi; updated past what was decoded&period;
| *pdata&lowbar;len*
| Address of the remaining length&semi; updated with bytes left undecoded&period;
|===


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