[AI] Represents a chunk of data extracted from a stream (typically from a Mindscape/Mx SI file or str...
static MxU32 GetHeaderSize()
[AI] Returns the fixed size of the chunk header, typically used for parsing binary streams.
MxLong m_time
[AI] Timestamp (tick/frame) value for the chunk. Used for ordering, sequencing, and synchronization....
MxU32 m_objectId
[AI] Logical id field linking chunk to a resource, action, or entity. [AI]
~MxDSChunk() override
[AI] Virtual destructor. Cleans up any owned chunk data if flagged by DS_CHUNK_BIT1....
MxU16 m_flags
[AI] Flag bitfield indicating properties/status of the chunk. See DS_CHUNK_* defines....
MxU32 m_length
[AI] Number of bytes of data in this chunk's payload. [AI]
MxDSChunk()
[AI] Constructs a new, empty chunk. All members initialized to safe defaults. [AI]
MxU8 * m_data
[AI] Pointer to chunk's raw data buffer. Ownership is determined by DS_CHUNK_BIT1 flag and usage cont...
#define DECOMP_SIZE_ASSERT(T, S)
#define NULL
[AI] Null pointer value (C/C++ semantics).
#define DS_CHUNK_BIT1
[AI] Flag bit indicating that the data should be released (freed) when the chunk is destroyed.