#include <MappedFileHandle.h>
◆ IMappedFileRegion() [1/2]
| IMappedFileRegion::IMappedFileRegion |
( |
const uint8 * |
InMappedPtr, |
|
|
size_t |
InMappedSize, |
|
|
const FString & |
InDebugFilename, |
|
|
size_t |
InDebugOffsetRelativeToFile |
|
) |
| |
|
inline |
◆ ~IMappedFileRegion()
| virtual IMappedFileRegion::~IMappedFileRegion |
( |
| ) |
|
|
inlinevirtual |
◆ IMappedFileRegion() [2/2]
◆ Flush()
Synchronously flush part or all of the mapped region. This is only a hint, some platforms might ignore it. There are not guarantees how long this data will stay in paged out.
- Parameters
-
| FlushOffset | Offset into this region to flush |
| BytesToFlush | number of bytes to flush. This is clamped to the size of the mapped region |
◆ GetMappedPtr()
| const uint8 * IMappedFileRegion::GetMappedPtr |
( |
| ) |
|
|
inline |
Return the pointer to the mapped region.
- Returns
- Returned size of the file or -1 if the file was not found, the request was canceled or other error.
◆ GetMappedSize()
| int64 IMappedFileRegion::GetMappedSize |
( |
| ) |
|
|
inline |
Return the size of the mapped region.
◆ operator=()
◆ PreloadHint()
Synchronously preload part or all of the mapped region. Typically this is done by reading a byte from each CPU page. This is only a hint, some platforms might ignore it. There are not guarantees how long this data will stay in memory.
- Parameters
-
| PreloadOffset | Offset into this region to preload |
| BytesToPreload | number of bytes to preload. This is clamped to the size of the mapped region |
Reimplemented in FMappedFileRegion, FMappedFileRegionWindows, and FMappedRegionPakProxy.
The documentation for this class was generated from the following file: