![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <RawDataNetBlob.h>
Inheritance diagram for UE::Net::FRawDataNetBlob:Protected Member Functions | |
| IRISCORE_API void | InternalSerialize (FNetSerializationContext &Context) const |
| IRISCORE_API void | InternalDeserialize (FNetSerializationContext &Context) |
Protected Member Functions inherited from UE::Net::FNetBlob | |
| FNetBlob (const FNetBlob &)=delete | |
| FNetBlob & | operator= (const FNetBlob &)=delete |
| virtual IRISCORE_API | ~FNetBlob () |
| virtual TArrayView< const FNetObjectReference > | GetNetObjectReferenceExports () const |
| virtual TArrayView< const FNetToken > | GetNetTokenExports () const |
| IRISCORE_API void | SerializeBlob (FNetSerializationContext &Context) const |
| IRISCORE_API void | DeserializeBlob (FNetSerializationContext &Context) |
Additional Inherited Members | |
Static Public Member Functions inherited from UE::Net::FNetBlob | |
| static IRISCORE_API void | SerializeCreationInfo (FNetSerializationContext &Context, const FNetBlobCreationInfo &CreationInfo) |
| static IRISCORE_API void | DeserializeCreationInfo (FNetSerializationContext &Context, FNetBlobCreationInfo &OutCreationInfo) |
Protected Attributes inherited from UE::Net::FNetBlob | |
| FNetBlobCreationInfo | CreationInfo |
| TRefCountPtr< const FReplicationStateDescriptor > | BlobDescriptor |
| FQuantizedBlobState | QuantizedBlobState |
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.
| UE::Net::FRawDataNetBlob::FRawDataNetBlob | ( | const FNetBlobCreationInfo & | InCreationInfo | ) |
|
inline |
Returns the raw data.
|
inline |
Returns the number of valid bits in the raw data.
|
protected |
Deserializes the raw data.
|
protected |
Serializes the raw data.
| void UE::Net::FRawDataNetBlob::SetRawData | ( | const TArrayView< const uint32 > | RawData, |
| uint32 | RawDataBitCount | ||
| ) |
Set the raw data. The data is copied.
| RawData | The data to be copied. |
| RawDataBitCount | The number of bits that should be serialized. If RawDataBitCount is not a multiple of 32 then the (RawDataBitCount % 32) least significant bits of the last uint32 are serialized. |
Set the raw data via moving an array.
| RawData | The array to be moved. |
| RawDataBitCount | The number of bits that should be serialized. If RawDataBitCount is not a multiple of 32 then the (RawDataBitCount % 32) least significant bits of the last uint32 are serialized. |