mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 07:56:40 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			304 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			304 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#include "constrainedfilestream.hpp"
 | 
						|
 | 
						|
namespace Files
 | 
						|
{
 | 
						|
    IStreamPtr openConstrainedFileStream(const std::string& filename, std::size_t start, std::size_t length)
 | 
						|
    {
 | 
						|
        return std::make_unique<ConstrainedFileStream>(std::make_unique<ConstrainedFileStreamBuf>(filename, start, length));
 | 
						|
    }
 | 
						|
}
 |