Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrain module · member function

FOrreryTerrainTileStoreIndex::

ReadBlob

Experimental

Parse and check a blob: counts equal the layout the fields imply, codes are known, the page offsets follow the sizes, and the sizes add up to PayloadSize.

Declaration

bool ReadBlob(const uint8* Data, int64 Size, uint64 PayloadSize, FString& Error);
Header
#include "OrreryTerrainTileStoreAsset.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrain"); in your module’s Build.cs.
Stability
Experimental: supported, may change in a minor version, with a changelog line.
Thread
Thread-safe to read. (the rule of FOrreryTerrainTileStoreIndex)

Parameters

NameTypeDefaultMeaning
Dataconst uint8*——
Sizeint64——
PayloadSizeuint64——
ErrorFString&——

Returns

false, with Error naming the fault and the index untouched, on any inconsistency.