23 const uint8_t *t = (
const uint8_t*)data;
28 for (i = 0; i < size; i++) {
30 pos = sprintf(buffer,
"%p: ", &t[i]);
31 pos += sprintf(buffer + pos,
"%02x ", t[i]);
32 if (i % 16 == 15 || i == size - 1) {
33 spa_debugc(ctx,
"%*s" "%s", indent,
"", buffer);
39static inline int spa_debug_mem(
int indent,
const void *data,
size_t size)
#define spa_debugc(_c, _fmt,...)
Definition context.h:37
static int spa_debug_mem(int indent, const void *data, size_t size)
Definition mem.h:44
static int spa_debugc_mem(struct spa_debug_context *ctx, int indent, const void *data, size_t size)
Definition mem.h:26