Warnings
User is responsible for releasing the returned pointer by calling destroy.
Module |
|
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 * create
(
const char * path,
AccessMode accessMode,
OpenMode openMode,
MemoryResource * memRes
)
User is responsible for releasing the returned pointer by calling destroy.
Parameter |
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. @note If a custom memory resource is not given, a default allocation mechanism will be used. |