Struct
HexChangeData
Description
struct HexChangeData {
gint64 start;
gint64 end;
size_t rep_len;
gboolean lower_nibble;
gboolean insert;
HexChangeType type;
char* v_string;
char v_byte;
}
A structure containing metadata about a change made to a
HexDocument.
Structure members
startStart offset of the payload, in bytes.
endEnd offset of the payload, in bytes.
rep_lenAmount of data to replace at
start, or 0 for data to be inserted without any overwriting.lower_nibbleTRUEif targetting the lower nibble (2nd hex digit)FALSEif targetting the upper nibble (1st hex digit).insertTRUEif the operation should be insert mode,FALSEif in overwrite mode.typeHexChangeTyperepresenting the type of change (ie, a string or a single byte).v_stringString of the data representing a change, or
NULL.v_byteCharacter representing a single byte to be changed, if applicable.