Navigation
API > API/Plugins > API/Plugins/RigLogicLib > API/Plugins/RigLogicLib/trio > API/Plugins/RigLogicLib/trio/streams > API/Plugins/RigLogicLib/trio/streams/MemoryStream > API/Plugins/RigLogicLib/trio/streams/MemoryStream/create
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/MemoryStream.h |
Include | #include "trio/streams/MemoryStream.h" |
Source | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Private/trio/streams/MemoryStreamImpl.cpp |
static MemoryStream &42; create
&40;
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 |
---|---|
memRes | The memory resource to be used for the allocation of the MemoryStream instance. |