| 51 | // PacketReadCache |
| 52 | |
| 53 | PacketReadCache::PacketReadCache( CheckedFile *cFile, unsigned packetCount ) : |
| 54 | cFile_( cFile ), entries_( packetCount ) |
| 55 | { |
| 56 | if ( packetCount == 0 ) |
| 57 | { |
| 58 | throw E57_EXCEPTION2( ErrorInternal, "packetCount=" + toString( packetCount ) ); |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | std::unique_ptr<PacketLock> PacketReadCache::lock( uint64_t packetLogicalOffset, char *&pkt ) |
| 63 | { |
nothing calls this directly
no test coverage detected