Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.18.16 NdbBlob::readData()

Description.  This method is used to read data from a blob.

Signature. 

int readData
    (
      void*     data,
      Uint32&  bytes
    )

Parameters.  readData() accepts a pointer to the data to be read, and a reference to the number of bytes read.

Return value.  Returns 0 on success, -1 on failure. Following a successful invocation, data points to the data that was read, and bytes holds the number of bytes read.