Function
FwupdPluginSecureBytesnew_from_bytes
since: 2.1.9
Declaration [src]
FuSecureBytes*
fu_secure_bytes_new_from_bytes (
GBytes* bytes
)
Description [src]
Creates a secure byte array that is cleared when deallocated.
Available since: 2.1.9
This function is not directly available to language bindings.
Parameters
bytes-
Type:
GBytesSome
GBytes.The data is owned by the caller of the function.
Return value
Type: FuSecureBytes
A FuSecureBytes.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |