Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/Serialization
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/Serialization/BulkDataScopedLock.h |
| Include | #include "Serialization/BulkDataScopedLock.h" |
Syntax
template<typename ElementType>
class TBulkDataScopedWriteLock
Remarks
Locks the given bulkdata object for read/write access. Note that performing actions on the original bulkdata object while this scope is active (such as calls to realloc) may cause problems. Only use this object for bulkdata operations while it is active.
Constructors
| Type | Name | Description | |
|---|---|---|---|
TBulkDataScopedWriteLock
(
TBulkData< ElementType >& InBulkData |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| int64 | Returns the length of the bulkdata payload in bytes | ||
| ElementType * | GetData () |
Returns a raw pointer to the bulkdata payload | |
| TArrayView64< ElementType > | GetView () |
Returns the bulkdata payload wrapped in a TArrayView64 for added safety | |
| int64 | Num () |
Returns the number of elements in the bulkdata payload | |