Method
HexDocumentfind_backward
Declaration
gboolean
hex_document_find_backward (
  HexDocument* doc,
  gint64 start,
  const char* what,
  size_t len,
  gint64* offset
)
Description
Find a string backwards in a HexDocument.
This method will block. For a non-blocking version, use
hex_document_find_backward_async(), which is also recommended
for GUI operations, as it, unlike this method, allows for easy passing-in
of found/not-found strings to be passed back to the interface.
Parameters
- start
- 
            Type: gint64Starting offset byte of the payload to commence the search. 
- what
- 
            Type: An array of gint8A pointer to the data to search within the HexDocument.The length of the array is specified in the lenargument.The data is owned by the caller of the method. 
- len
- 
            Type: size_tLength in bytes of the data to be searched for. 
- offset
- 
            Type: gint64*Offset of the found string, if the method returns TRUE.The argument will be set by the function.