Function

FwupdPlugincommon_dump_full

Declaration [src]

void
fu_common_dump_full (
  const gchar* log_domain,
  const gchar* title,
  const guint8* data,
  gsize len,
  guint columns,
  FuDumpFlags flags
)

Description [src]

Dumps a raw buffer to the screen.

Available since:1.2.4

Parameters

log_domain const gchar*
 

Optional log domain, typically G_LOG_DOMAIN.

 The argument can be NULL.
 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
title const gchar*
 

Optional prefix title.

 The argument can be NULL.
 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
data const guint8*
 

Buffer to print.

 The data is owned by the caller of the function.
len gsize
 

The size of data.

columns guint
 

Break new lines after this many bytes.

flags FuDumpFlags
 

Dump flags, e.g. FU_DUMP_FLAGS_SHOW_ASCII.