Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual NdbBlob::readData()

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


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.