Navigation
API > API/Runtime > API/Runtime/CoreUObject
Memory maps the bytes of a file on disk into memory and provides MemoryViews to those bytes until *this is destructed.
| Name | FMemoryMappedFile |
| Type | class |
| Header File | /Engine/Source/Runtime/CoreUObject/Public/AssetRegistry/AssetRegistrySerializationDetails.h |
| Include Path | #include "AssetRegistry/AssetRegistrySerializationDetails.h" |
Syntax
class FMemoryMappedFile
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| AssetRegistry/AssetRegistrySerializationDetails.h | |||
FMemoryMappedFile
(
const TCHAR* Path |
AssetRegistry/AssetRegistrySerializationDetails.h |
Structs
| Name | Remarks |
|---|---|
| FMappedSubRegion |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Handle | TUniquePtr< IMappedFileHandle > | Handle for the mapped file | AssetRegistry/AssetRegistrySerializationDetails.h | |
| Regions | TArray< FMappedSubRegion > | AssetRegistry/AssetRegistrySerializationDetails.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMemoryView GetView
(
uint64 Start, |
Provides a new View, allocating it if it doesn't exist. | AssetRegistry/AssetRegistrySerializationDetails.h | |
FMemoryView GetWholeFileView() |
AssetRegistry/AssetRegistrySerializationDetails.h |