gobj_trace_dump_gbuf()

gobj_trace_dump_gbuf()#

Logs a hexadecimal dump of the given gbuffer_t *, displaying a chunk of its data for debugging purposes.

Prototype

void gobj_trace_dump_gbuf(
    hgobj gobj,
    gbuffer_t *gbuf,
    const char *fmt,
    ...
);

Parameters

Key

Type

Description

gobj

hgobj

The hgobj instance used for logging.

gbuf

gbuffer_t *

The gbuffer_t * to be dumped.

fmt

const char *

A format string for additional log message details.

...

variadic

Additional arguments for the format string.


Return Value

This function does not return a value.

Notes

Only a chunk of the gbuffer_t * data is printed. Use gobj_trace_dump_full_gbuf() to log the entire buffer.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples