Constructor
HexDocumentnew_from_file
Parameters
file
-
Type:
GFile
A
GFile
pointing to a valid file on the system.The data is owned by the caller of the function.
Return value
Type: HexDocument
A HexDocument
pre-loaded with a GFile
ready for a
read
operation, or NULL
if the operation failed.
The caller of the function takes ownership of the data, and is responsible for freeing it. |