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 TBulkDataScopedReadLock
Remarks
Note that these lock structures only work with the templated versions of FBulkData, such as FByteBulkData or FFloatBulkData because they need to know the format of the bulkdata payload which the base class FBulkData cannot provide. Locks the given bulkdata object for read access
Constructors
| Type | Name | Description | |
|---|---|---|---|
TBulkDataScopedReadLock
(
const TBulkData< ElementType >& InBulkData |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| int64 | Returns the length of the bulkdata payload in bytes | ||
| const ElementType * | GetData () |
Returns a raw pointer to the bulkdata payload | |
| TConstArrayView64< ElementType > | GetView () |
Returns the bulkdata payload wrapped in a TConstArrayView64 for added safety | |
| int64 | Num () |
Returns the number of elements in the bulkdata payload | |