Method

HexDocumentset_buffer

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 HexBuffer
 

HexBuffer

 The data is owned by the caller of the function.

Return value

Returns: gboolean
 

TRUE if the operation was successful; FALSE otherwise.