Navigation
Unreal Engine C++ API Reference > 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;
std::size_t initialSize,
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 |
---|---|
initialSize | Initial size of the memory stream. |
memRes | The memory resource to be used for the allocation of the MemoryStream instance. |