mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-14 16:49:26 +08:00
7bed7ff482
Comments in headers are changed a bit: removed adoc-specific stuff, markdown is used instead PUBLISHED_FROM=9242cce85cc52a47a197d377e7e23804721a6bb5
16 lines
476 B
Markdown
16 lines
476 B
Markdown
---
|
|
title: "mg_hexdump()"
|
|
decl_name: "mg_hexdump"
|
|
symbol_kind: "func"
|
|
signature: |
|
|
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.
|
|
|