Struct
HexDocumentFindData
Description
struct HexDocumentFindData {
gboolean found;
gint64 start;
gint8 what[];
size_t len;
HexSearchFlags flags;
gint64 offset;
size_t found_len;
const char* found_msg;
const char* not_found_msg;
}
A structure containing metadata about a find operation in a
HexDocument.
Structure members
foundWhether the string was found.
startStart offset of the payload, in bytes.
whatA pointer to the data to search within the
HexDocument.lenLength in bytes of the data to be searched for.
flagsHexSearchFlagssearch flags (Since: 4.2).offsetOffset of the found string.
found_lenLength of the found string (may be different from the search string when dealing with regular expressions, for example) (Since: 4.2).
found_msgMessage intended to be displayed by the client if the string is found.
not_found_msgMessage intended to be displayed by the client if the string is not found.
Instance methods
hex_document_find_data_copy
Copy a HexDocumentFindData structure. This function is likely
only useful for language bindings.
since: 4.2