void read( uint8_t* data )
auto hdr = reinterpret_cast< LogBufferHdr* >( data );
std::vector< LogEntry* > entries;
auto offsetEntriesCount = hdr->fileSize - hdr->contentSize;
for( auto i = 0; i < offsetEntriesCount; i++ )
auto offset = hdr->offsetEntries[ i ];
auto entry = reinterpret_cast< LogEntry* >( data + offset );
entries.push_back( entry );