WoW Model Viewer
Your premiere tool for viewing, equipping and animating World of Warcraft models.
Loading...
Searching...
No Matches
ChunkReader.h File Reference
#include <algorithm>
#include <cstdint>
#include <cstring>
#include <string>
#include <vector>
Include dependency graph for ChunkReader.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ChunkReader::ChunkHeader
 On-disk chunk header: 4-byte magic + 4-byte size. More...
 
struct  ChunkReader::ChunkInfo
 Runtime representation of a single parsed chunk. More...
 

Namespaces

namespace  ChunkReader
 Standalone utility for parsing WoW chunk-based file formats.
 

Functions

const std::vector< std::string > & ChunkReader::knownFirstChunks ()
 
bool ChunkReader::isChunked (const unsigned char *data, size_t dataSize)
 Determine whether a buffer begins with a known chunked-file header.
 
std::vector< ChunkInfoChunkReader::parse (const unsigned char *data, size_t dataSize)
 Parse all top-level chunks from a buffer.