Hex.Document.set_nibble

### Method

# Hex Documentset_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`

  Type: `char`

  A character to set the nibble as.

`offset`

  Type: `gint64`

  Offset in bytes within the payload.

`lower_nibble`

  Type: `gboolean`

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

`insert`

  Type: `gboolean`

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

`undoable`

  Type: `gboolean`

  Whether the operation should be undoable.