[#ASN1_buf_print]
= ASN1&lowbar;buf&lowbar;print
:mrdocs:

Print a byte buffer as colon&hyphen;separated hex to a BIO with indentation&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
ASN1&lowbar;buf&lowbar;print(
    xref:BIO.adoc[BIO]* bp,
    unsigned char const* buf,
    size&lowbar;t buflen,
    int off);
----

== Return Value

1 on success, or 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *bp*
| BIO that receives the formatted output&period;
| *buf*
| Bytes to print&period;
| *buflen*
| Number of bytes at `buf&period;`
| *off*
| Indentation depth in spaces&period;
|===


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