Navigation
API > API/Plugins > API/Plugins/RigLogicLib > API/Plugins/RigLogicLib/trio > API/Plugins/RigLogicLib/trio/streams > API/Plugins/RigLogicLib/trio/streams/FileStream
Warnings * User is responsible for releasing the returned pointer by calling destroy.
References
Module | RigLogicLib |
Header | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/trio/streams/FileStream.h |
Include | #include "trio/streams/FileStream.h" |
Source | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Private/trio/streams/FileStreamImpl.cpp |
static FileStream &42; create
&40;
const char &42; path,
AccessMode accessMode,
OpenMode openMode,
MemoryResource &42; memRes
&41;
Remarks
If a custom memory resource is not given, a default allocation mechanism will be used.
User is responsible for releasing the returned pointer by calling destroy.
Parameters
Name | Description |
---|---|
path | UTF-8 encoded path to file to be opened. |
accessMode | Control whether the file is opened for reading or writing. |
openMode | Control whether the file is opened in binary or textual mode. |
memRes | The memory resource to be used for the allocation of the FileStream instance. |