Castor3D 0.16.0
Multiplatform 3D engine
|
Chunk parser. More...
#include <ChunkParser.hpp>
Static Public Member Functions | |
static bool | parse (T *values, size_t count, BinaryChunk &chunk) |
Retrieves a value array from a chunk. | |
static bool | parse (T &value, BinaryChunk &chunk) |
Retrieves a value from a chunk. | |
Static Public Member Functions inherited from castor3d::ChunkParserBase | |
static bool | parse (uint8_t *values, size_t size, BinaryChunk &chunk) |
Retrieves a value array from a chunk. | |
Chunk parser.
|
inlinestatic |
Retrieves a value from a chunk.
[out] | value | Receives the parsed value |
[in] | chunk | The chunk containing the value |
false
if any error occured References castor3d::getBuffer(), castor3d::getDataSize(), castor3d::ChunkParserBase::parse(), and castor3d::prepareChunkDataT().
|
inlinestatic |
Retrieves a value array from a chunk.
[out] | values | Receives the parsed values |
[out] | count | The values count |
[in] | chunk | The chunk containing the values |
false
if any error occured References castor3d::ChunkParserBase::parse(), and castor3d::prepareChunkDataT().
Referenced by castor3d::BinaryParserBase< TParsed >::doParseChunk(), castor3d::BinaryParserBase< TParsed >::doParseChunk(), castor3d::BinaryParserBase< TParsed >::doParseChunk(), castor3d::BinaryParserBase< TParsed >::doParseChunk(), and castor3d::BinaryParserBase< TParsed >::doParseChunk().