Function

FwupdPluginbyte_array_to_string

Declaration [src]

gchar*
fu_byte_array_to_string (
  GByteArray* array
)

Description [src]

Converts the byte array to a lowercase hex string.

Available since:1.8.9

Parameters

array An array of guint8
 

A GByteArray.

 The data is owned by the caller of the function.

Return value

Returns: utf8
 

A string, which may be zero length.

 The caller of the function takes ownership of the data, and is responsible for freeing it.
 The string is a NUL terminated UTF-8 string.