Navigation
API > API/Plugins > API/Plugins/RigLogicLib > API/Plugins/RigLogicLib/MemoryStream
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static MemoryStream * create
(
MemoryResource* memRes |
Factory method for creation of a MemoryStream instance. | trio/streams/MemoryStream.h | |
static MemoryStream * create
(
std::size_t initialSize, |
Factory method for creation of a MemoryStream instance. | trio/streams/MemoryStream.h |
create(MemoryResource *)
Warnings * User is responsible for releasing the returned pointer by calling destroy.
Description
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.
| Name | create |
| Type | function |
| Header File | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/trio/streams/MemoryStream.h |
| Include Path | #include "trio/streams/MemoryStream.h" |
| Source | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Private/trio/streams/MemoryStreamImpl.cpp |
static MemoryStream * create
(
MemoryResource * memRes
)
Parameters
| Name | Remarks |
|---|---|
| memRes | The memory resource to be used for the allocation of the MemoryStream instance. |
See Also
- destroy
create(std::size_t, MemoryResource *)
Warnings * User is responsible for releasing the returned pointer by calling destroy.
Description
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.
| Name | create |
| Type | function |
| Header File | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/trio/streams/MemoryStream.h |
| Include Path | #include "trio/streams/MemoryStream.h" |
| Source | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Private/trio/streams/MemoryStreamImpl.cpp |
static MemoryStream * create
(
std::size_t initialSize,
MemoryResource * memRes
)
Parameters
| Name | Remarks |
|---|---|
| initialSize | Initial size of the memory stream. |
| memRes | The memory resource to be used for the allocation of the MemoryStream instance. |
See Also
- destroy