Description

Allows you to read data from the dynamic memory area of ​​the key that was previously recorded by the application developer.

Syntax

int GRD_API GrdMemoryRead(GrdHandle handle, 
						  grd_uint32 memoryId, 
						  grd_uint32 password, 
						  grd_uint32 dataSize, 
						  grd_uint32 offset, 
						  void* data);

Parameters

handle
Session handle
memoryId

Unique identifier of the memory area being read. Assigned in Guardant Station

password [optional]

Password for reading data from the memory. If not used, the value should be 0

dataSize
The size (in bytes) of the buffer for reading data
offset
Address (offset) of the first byte to be read
data
Pointer to a buffer for reading data

Return values

GRD_OK

GRD_INVALID_HANDLE

  • No labels