Template Function sdkReadFileBlocks#
Defined in File helper_image.h
Function Documentation#
-
template<class T>
inline bool sdkReadFileBlocks(const char *filename, T **data, unsigned int *len, unsigned int block_num, unsigned int block_size, bool verbose)# Read file \filename and return the data
- Parameters
filename – name of the source file
data – uninitialized pointer, returned initialized and pointing to the data read
len – number of data elements in data, -1 on error
- Returns
bool if reading the file succeeded, otherwise false