tdump2json()
#
Convert a memory dump into a JSON object. Works with json_t *
.
Prototype
PUBLIC json_t *tdump2json(
const void *data,
size_t size
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The memory block to convert. |
|
|
The size of the memory block in bytes. |
Return Value
Returns a json_t *
object representing the memory dump, or NULL
on failure.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples