Navigation
API > API/Plugins > API/Plugins/RigLogicLib
Blob is a wrapper type around a byte-array essentially, and is used to serialize binary blobs, whose size is predefined by another entity (e.g. an ArchiveSize object). During serialization, the amount of bytes either written to or read from the stream will be controlled by the user (by setting the size on the blob type through the setSize member function). For text-based serializers, binary blobs are Base64 encoded/decoded.
| Name | Blob |
| Type | class |
| Header File | /Engine/Plugins/Animation/RigLogic/Source/RigLogicLib/Public/terse/types/Blob.h |
| Include Path | #include "terse/types/Blob.h" |
Syntax
template<typename T, typename TAllocator>
class Blob
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
Blob () |
terse/types/Blob.h | ||
Blob
(
const allocator_type& alloc |
terse/types/Blob.h | ||
Blob
(
std::size_t size, |
terse/types/Blob.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| allocator_type | TAllocator | terse/types/Blob.h | |
| value_type | T | terse/types/Blob.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bytes | DynArray< value_type, allocator_type > | terse/types/Blob.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
value_type * data () |
terse/types/Blob.h | ||
const value_type * data () |
terse/types/Blob.h | ||
allocator_type get_allocator() |
terse/types/Blob.h | ||
void setSize
(
std::size_t newSize |
terse/types/Blob.h | ||
std::size_t size() |
terse/types/Blob.h |