Function
FwupdPluginbytes_pad
since: 2.0.7
Declaration [src]
GBytes*
fu_bytes_pad (
GBytes* bytes,
gsize sz,
guint8 data
)
Parameters
bytes-
Type:
GBytesData blob.
The data is owned by the caller of the function. sz-
Type:
gsizeThe desired size in bytes.
data-
Type:
guint8The byte used to pad the array.
Return value
Type: GBytes
A data blob.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |