| 30 | } |
| 31 | |
| 32 | void File::exportToFile( const std::filesystem::path& i_path ) const |
| 33 | { |
| 34 | std::ofstream ofs( i_path.string(), std::ios_base::binary | std::ios_base::out ); |
| 35 | for( auto& data_section : _data_sections ) |
| 36 | { |
| 37 | ofs.write( data_section.data(), data_section.size() ); |
| 38 | } |
| 39 | ofs.close(); |
| 40 | } |
| 41 | |
| 42 | } |
no test coverage detected