| 77 | } |
| 78 | |
| 79 | void handleArray( const IndexedIO *src, IndexedIO *dst, const IndexedIO::Entry &entry, Callback &callback ) |
| 80 | { |
| 81 | std::vector<T> array( entry.arrayLength() ); |
| 82 | T *ptr = array.data(); |
| 83 | src->read( entry.id(), ptr, entry.arrayLength() ); |
| 84 | |
| 85 | callback( sizeof( T ) * entry.arrayLength() ); |
| 86 | } |
| 87 | }; |
| 88 | |
| 89 | template<typename Callback> |
nothing calls this directly
no test coverage detected