Castor3D 0.16.0
Multiplatform 3D engine
|
Chunk data writer. More...
#include <ChunkWriter.hpp>
Static Public Member Functions | |
static bool | write (T const *begin, T const *end, ChunkType type, BinaryChunk &chunk) |
Writes a subchunk value into a chunk. | |
static bool | write (T const &value, ChunkType type, BinaryChunk &chunk) |
Writes a subchunk value into a chunk. | |
Static Public Member Functions inherited from castor3d::ChunkWriterBase | |
static bool | write (uint8_t const *begin, uint8_t const *end, ChunkType type, BinaryChunk &chunk) noexcept |
Writes a subchunk value into a chunk. | |
Chunk data writer.
|
inlinestatic |
Writes a subchunk value into a chunk.
[in] | value | The value |
[in] | type | The subchunk type |
[in] | chunk | The chunk |
false
if any error occured References castor3d::getBuffer(), castor3d::getDataSize(), castor3d::prepareChunkDataT(), and castor3d::ChunkWriterBase::write().
|
inlinestatic |
Writes a subchunk value into a chunk.
[in] | begin | The values begin |
[in] | end | The values end |
[in] | type | The subchunk type |
[in] | chunk | The chunk |
false
if any error occured References castor3d::prepareChunkDataT(), and castor3d::ChunkWriterBase::write().
Referenced by castor3d::BinaryWriterBase< TWritten >::doWriteChunk(), castor3d::BinaryWriterBase< TWritten >::doWriteChunk(), castor3d::BinaryWriterBase< TWritten >::doWriteChunk(), castor3d::BinaryWriterBase< TWritten >::doWriteChunk(), castor3d::BinaryWriterBase< TWritten >::doWriteChunk(), and castor3d::BinaryWriterBase< TWritten >::doWriteChunk().