Struct

HexDocumentFindData

Description

struct HexDocumentFindData {
  gboolean found;
  gint64 start;
  const char* what;
  size_t len;
  gint64 offset;
  const char* found_msg;
  const char* not_found_msg;
}

A structure containing metadata about a find operation in a HexDocument.

Structure members
found

Whether the string was found.

start

Start offset of the payload, in bytes.

what

A pointer to the data to search within the HexDocument.

len

Length in bytes of the data to be searched for.

offset

Offset of the found string.

found_msg

Message intended to be displayed by the client if the string is found.

not_found_msg

Message intended to be displayed by the client if the string is not found.