| 339 | |
| 340 | template < typename F > |
| 341 | const char *read( F &f ) const |
| 342 | { |
| 343 | uint64_t sz; |
| 344 | readLittleEndian( f, sz ); |
| 345 | |
| 346 | if ( m_ioBufferLen < sz + 1 ) |
| 347 | { |
| 348 | if ( m_ioBuffer ) |
| 349 | { |
| 350 | delete [] m_ioBuffer; |
| 351 | } |
| 352 | m_ioBufferLen = sz+1; |
| 353 | m_ioBuffer = new char[m_ioBufferLen]; |
| 354 | } |
| 355 | f.read( m_ioBuffer, sz*sizeof(char)); |
| 356 | m_ioBuffer[sz] = '\0'; |
| 357 | return m_ioBuffer; |
| 358 | } |
| 359 | |
| 360 | uint64_t m_prevId; |
| 361 |
nothing calls this directly
no test coverage detected