[#BIO_hex_string]
= BIO&lowbar;hex&lowbar;string
:mrdocs:

Write `datalen` bytes from `data` as a colon&hyphen;separated hex string to a BIO&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
BIO&lowbar;hex&lowbar;string(
    xref:BIO.adoc[BIO]* out,
    int indent,
    int width,
    void const* data,
    int datalen);
----

== Return Value

1 on success, or 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *out*
| Destination BIO&period;
| *indent*
| Number of spaces to prefix the first line (and continuation lines as needed)&period;
| *width*
| Maximum number of hex octets per line before wrapping (0 for no wrap)&period;
| *data*
| Bytes to format&period;
| *datalen*
| Number of bytes at `data&period;`
|===


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