[#BIO_dump_cb]
= BIO&lowbar;dump&lowbar;cb
:mrdocs:

Hex&hyphen;dump `len` bytes at `s` by invoking `cb` for each formatted chunk&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
BIO&lowbar;dump&lowbar;cb(
    int(* cb)(void const*, size&lowbar;t, void*),
    void* u,
    void const* s,
    int len);
----

== Return Value

1 on success, or 0 on error &sol; callback abort&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *cb*
| Callback receiving dump text&semi; return &lt;&equals;0 to abort&period;
| *u*
| Opaque user pointer forwarded to `cb&period;`
| *s*
| Bytes to dump&period;
| *len*
| Number of bytes at `s&period;`
|===


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