UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FMappedFilePakProxy Class Referencefinal
+ Inheritance diagram for FMappedFilePakProxy:

Public Member Functions

 FMappedFilePakProxy (TSharedPtr< IMappedFileHandle > InLowerLevel, int64 InOffset, int64 InSize, int64 InPakSize, const TCHAR *InDebugFilename)
 
virtual IMappedFileRegionMapRegion (int64 Offset=0, int64 BytesToMap=MAX_int64, FFileMappingFlags Flags=EMappedFileFlags::ENone) override
 
- Public Member Functions inherited from IMappedFileHandle
 IMappedFileHandle (size_t InFileSize)
 
virtual ~IMappedFileHandle ()
 
UE_FORCEINLINE_HINT int64 GetFileSize () const
 
virtual void Flush (void)
 
 IMappedFileHandle (const IMappedFileHandle &)=delete
 
IMappedFileHandleoperator= (const IMappedFileHandle &)=delete
 

Constructor & Destructor Documentation

◆ FMappedFilePakProxy()

FMappedFilePakProxy::FMappedFilePakProxy ( TSharedPtr< IMappedFileHandle InLowerLevel,
int64  InOffset,
int64  InSize,
int64  InPakSize,
const TCHAR InDebugFilename 
)
inline

Member Function Documentation

◆ MapRegion()

virtual IMappedFileRegion * FMappedFilePakProxy::MapRegion ( int64  Offset = 0,
int64  BytesToMap = MAX_int64,
FFileMappingFlags  Flags = EMappedFileFlags::ENone 
)
inlineoverridevirtual

Map a region of the file.

Parameters
OffsetOffset into the file to start mapping.
BytesToMapNumber of bytes to map. Clamped to the size of the file.
FlagsA combination of EMappingFlags values
Returns
the mapped region interface. Returns nullptr on failure.

Implements IMappedFileHandle.


The documentation for this class was generated from the following file: