mongoose/docs/c-api/util.h/mg_hexdump.md
Dmitry Frank 23122b327c Remove old docs, rename docs_new to docs
It would be probably good idea to also remove tools/docgen.py and
asciidoc.mk, but asciidoc.mk is still mentioned under `cloud/doc`, which
may contain some useful info which we'll need at least to review before
removing.

PUBLISHED_FROM=faf454d4c52a2f07ea8ac084cf0bd11a0c9c9b3b
2016-05-15 22:07:04 +03:00

476 B

title decl_name symbol_kind signature
mg_hexdump() mg_hexdump func int mg_hexdump(const void *buf, int len, char *dst, int dst_len);

Generates human-readable hexdump of memory chunk.

Takes a memory buffer buf of length len and creates a hex dump of that buffer in dst. Generated output is a-la hexdump(1). Return length of generated string, excluding terminating \0. If returned length is bigger than dst_len, overflow bytes are discarded.