Castor3D 0.16.0
Multiplatform 3D engine
Static Public Member Functions | List of all members
castor3d::ChunkWriter< castor::String > Class Reference

ChunkWriter specialisation for castor::String. More...

#include <ChunkWriter.hpp>

Inheritance diagram for castor3d::ChunkWriter< castor::String >:
Inheritance graph
[legend]
Collaboration diagram for castor3d::ChunkWriter< castor::String >:
Collaboration graph
[legend]

Static Public Member Functions

static bool write (castor::String 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.
 

Detailed Description

ChunkWriter specialisation for castor::String.

Member Function Documentation

◆ write()

static bool castor3d::ChunkWriter< castor::String >::write ( castor::String const & value,
ChunkType type,
BinaryChunk & chunk )
inlinestatic

Writes a subchunk value into a chunk.

Parameters
[in]valueThe value
[in]typeThe subchunk type
[in]chunkThe chunk
Returns
false if any error occured

References castor::toUtf8(), and castor3d::ChunkWriterBase::write().

Here is the call graph for this function:

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