[#ASN1_item_d2i_bio]
= ASN1&lowbar;item&lowbar;d2i&lowbar;bio
:mrdocs:

Decode an ASN&period;1 value described by `it` from a BIO (default library context)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void*
ASN1&lowbar;item&lowbar;d2i&lowbar;bio(
    xref:ASN1_ITEM.adoc[ASN1&lowbar;ITEM] const* it,
    xref:BIO.adoc[BIO]* in,
    void* pval);
----

== Return Value

Decoded object pointer, or NULL on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *it*
| ASN&period;1 item describing the type to decode&period;
| *in*
| BIO positioned at DER input&period;
| *pval*
| Optional existing object to reuse, or NULL to allocate&period;
|===


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