Method

HexDocumentset_nibble

Declaration

void
hex_document_set_nibble (
  HexDocument* doc,
  char val,
  gint64 offset,
  gboolean lower_nibble,
  gboolean insert,
  gboolean undoable
)

Description

Set a particular nibble of a HexDocument.

Parameters

val char
 

A character to set the nibble as.

offset gint64
 

Offset in bytes within the payload.

lower_nibble gboolean
 

TRUE if targetting the lower nibble (2nd hex digit) FALSE if targetting the upper nibble (1st hex digit)

insert gboolean
 

TRUE if the operation should be insert mode, FALSE if in overwrite mode.

undoable gboolean
 

Whether the operation should be undoable.