MCPcopy Create free account
hub / github.com/PDAL/PDAL / PacketReadCache

Method PacketReadCache

plugins/e57/libE57Format/src/Packet.cpp:53–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51// PacketReadCache
52
53PacketReadCache::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
62std::unique_ptr<PacketLock> PacketReadCache::lock( uint64_t packetLogicalOffset, char *&pkt )
63{

Callers

nothing calls this directly

Calls 1

toStringFunction · 0.70

Tested by

no test coverage detected