libexplain  1.4.D001
Functions
libexplain/buffer/hexdump.h File Reference
#include <libexplain/string_buffer.h>

Go to the source code of this file.

Functions

void explain_buffer_hexdump (explain_string_buffer_t *sb, const void *data, size_t data_size)
void explain_buffer_hexdump_array (explain_string_buffer_t *sb, const void *data, size_t data_size)
void explain_buffer_mostly_text (explain_string_buffer_t *sb, const void *data, size_t data_size)

Function Documentation

void explain_buffer_hexdump ( explain_string_buffer_t sb,
const void *  data,
size_t  data_size 
)

The explain_buffer_hexdump function may be used to dump data in hex form to the given string buffer.

Parameters:
sbThe string buffer to print into.
dataThe data to dump
data_sizeThe size of the data to dump

Definition at line 25 of file hexdump.c.

void explain_buffer_hexdump_array ( explain_string_buffer_t sb,
const void *  data,
size_t  data_size 
)

The explain_buffer_hexdump_array function may be used to dump data in hex form to the given string buffer.

Parameters:
sbThe string buffer to print into.
dataThe data to dump
data_sizeThe size of the data to dump

Definition at line 40 of file hexdump.c.

void explain_buffer_mostly_text ( explain_string_buffer_t sb,
const void *  data,
size_t  data_size 
)

Definition at line 84 of file hexdump.c.