template<class ArrayT>
Definition at line 202 of file ReadPng.h. References ILOG_VAR, ILOG_WARN, Impala::Util::IOBuffer::Read(), ReadPngFromMemory(), and Impala::Util::IOBuffer::Size(). Referenced by ReadFile(), and ReadPng(). 00203 { 00204 ILOG_VAR(Impala.Core.Array.ReadPng); 00205 size_t memBufSize = buffer->Size(); 00206 char* buf = new char[memBufSize]; 00207 size_t nrRead = buffer->Read(buf, memBufSize); 00208 if (nrRead != memBufSize) 00209 { 00210 ILOG_WARN("Buffer read failed"); 00211 delete buf; 00212 return; 00213 } 00214 ReadPngFromMemory(dst, buf, memBufSize); 00215 delete buf; 00216 }
Here is the call graph for this function:
|