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

Description.  This method gets the blob's current length in bytes.


int getLength
      Uint64& length

Parameters.  A reference to the length.

Return value.  The blob's length in bytes. For a NULL blob, this method returns 0. to distinguish between a blob whose length is 0 blob and one which is NULL, use the getNull() method.