MemoryStream::create

Factory method for creation of a [MemoryStream](API\Plugins\RigLogicLib\trio\streams\MemoryStream) instance.

Windows
MacOS
Linux

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

Syntax

static MemoryStream * create
(
    std::size_t initialSize,
    MemoryResource * memRes
)

Remarks

User is responsible for releasing the returned pointer by calling destroy.

Parameters

Parameter

Description

initialSize

Initial size of the memory stream.

memRes

The memory resource to be used for the allocation of the MemoryStream instance. @note If a custom memory resource is not given, a default allocation mechanism will be used.

See Also

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss