Method

AravisDeviceread_memory

Declaration [src]

gboolean
arv_device_read_memory (
  ArvDevice* device,
  guint64 address,
  guint32 size,
  void* buffer,
  GError** error
)

Description [src]

Reads size bytes from the device memory.

Available since:0.2.0

Parameters

address guint64
 

Memory address.

size guint32
 

Number of bytes to read.

buffer void*
 

A buffer for the storage of the read data.

 The argument can be NULL.
 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE on success.