Orrery Terrain · OrreryTerrainCore module · function
Native::
DecodeNetRecord
ExperimentalRead one record written by EncodeNetRecord, all of Size and nothing more.
Declaration
ENetDecode DecodeNetRecord(const uint8_t* Data, size_t Size, FNetRecordView& Out);- Header
#include "Native/Net/NetRecord.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrainCore");in your module’s Build.cs.- Stability
- Experimental: supported, may change in a minor version, with a changelog line.
- Thread
- Pure, any thread.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Data | const uint8_ | — | The encoded record. |
Size | size_ | — | The record's size in bytes. |
Out | FNet | — | On Ok, the record; its Payload points into Data. |
Returns
Ok, or why the bytes are refused (Out unspecified).
Note.
Pure, any thread.