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
start:gint64Start offset of the payload, in bytes.
end:gint64End offset of the payload, in bytes.
rep_len:size_tAmount of data to replace at
start, or 0 for data to be inserted without any overwriting.lower_nibble:gbooleanTRUEif targetting the lower nibble (2nd hex digit)FALSEif targetting the upper nibble (1st hex digit).insert:gbooleanTRUEif the operation should be insert mode,FALSEif in overwrite mode.type:HexChangeTypeHexChangeTyperepresenting the type of change (ie, a string or a single byte).v_string:char*String of the data representing a change, or
NULL.v_byte:charCharacter representing a single byte to be changed, if applicable.