Navigation
API > API/Runtime > API/Runtime/IrisCore > API/Runtime/IrisCore/Iris > API/Runtime/IrisCore/Iris/ReplicationSystem > API/Runtime/IrisCore/Iris/ReplicationSystem/NetBlob
Inheritance Hierarchy
- FNetBlob
- FRawDataNetBlob
References
| Module | IrisCore |
| Header | /Engine/Source/Runtime/Experimental/Iris/Core/Public/Iris/ReplicationSystem/NetBlob/RawDataNetBlob.h |
| Include | #include "Iris/ReplicationSystem/NetBlob/RawDataNetBlob.h" |
Syntax
class FRawDataNetBlob : public UE::Net::FNetBlob
Remarks
Helper class for stateless data, such as when arbitrary data has been serialized to a bitstream. The serialization will simply serialize the raw data regardless of whether a NetRefHandle is provided or not. Things like splitting and assembling have optimized code paths for this type of blob. You can inherit from this blob type but you cannot override the serialization functions.
Sending huge blobs that require splitting and assembling is strongly discouraged.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FRawDataNetBlob
(
const FNetBlobCreationInfo& |
Functions
| Type | Name | Description | |
|---|---|---|---|
| TArrayView< const uint32 > | GetRawData () |
Returns the raw data. | |
| uint32 | Returns the number of valid bits in the raw data. | ||
| void | InternalDeserialize
(
FNetSerializationContext& Context |
Deserializes the raw data. | |
| void | InternalSerialize
(
FNetSerializationContext& Context |
Serializes the raw data. | |
| void | SetRawData
(
TArray< uint32 >&& RawData, |
Set the raw data via moving an array. | |
| void | SetRawData
(
const TArrayView< const uint32 > RawData, |
Set the raw data. The data is copied. |