Method

HexDocumentset_buffer

since: 4.2

Declaration

gboolean
hex_document_set_buffer (
  HexDocument* doc,
  HexBuffer* buf
)

Description

Set the HexBuffer connected with the HexDocument.

Available since: 4.2

Sets propertyHex.Document:buffer

Parameters

buf

Type: HexBuffer

HexBuffer

The data is owned by the caller of the method.

Return value

Type: gboolean

TRUE if the operation was successful; FALSE otherwise.