wavelength 1.0.0
Loading...
Searching...
No Matches
ChunkStream::Header Struct Reference

The header at the start of the file. More...

#include <chunkstream.h>

Public Member Functions

 Header (bool bCompressed)
 Construct the header of a file with one empty block.

Public Attributes

unsigned int mMagic
int mHeaderSize
int mBlockCount
int mMaxBlockSize
int mBlockSizes [kMaxBlocks]

Detailed Description

The header at the start of the file.

Constructor & Destructor Documentation

◆ Header()

ChunkStream::Header::Header ( bool bCompressed)
explicit

Construct the header of a file with one empty block.

Parameters
bCompressedWhether the blocks are deflated.
Ghidra address:
NTSC-U/C: 0x00295b70
Ghidra address:
PAL: 0x0029f788

Member Data Documentation

◆ mMagic

unsigned int ChunkStream::Header::mMagic

kMagicCompressed or kMagicPlain.

◆ mHeaderSize

int ChunkStream::Header::mHeaderSize

The size of this header in bytes.

◆ mBlockCount

int ChunkStream::Header::mBlockCount

Entries of mBlockSizes in use.

◆ mMaxBlockSize

int ChunkStream::Header::mMaxBlockSize

The largest block before decoding, in bytes.

◆ mBlockSizes

int ChunkStream::Header::mBlockSizes[kMaxBlocks]

The size of each block in the file, in bytes.


The documentation for this struct was generated from the following file: