textwolf  0.2
Static Public Member Functions | List of all members
textwolf::charset::Encoder Class Reference

Collection of functions for encode/decode XML character entities. More...

#include <charset_interface.hpp>

Static Public Member Functions

static bool encode (UChar chr, char *bufptr, std::size_t bufsize)
 Write the character 'chr' in encoded form as nul-terminated string to a buffer. More...
 

Detailed Description

Collection of functions for encode/decode XML character entities.

Member Function Documentation

static bool textwolf::charset::Encoder::encode ( UChar  chr,
char *  bufptr,
std::size_t  bufsize 
)
inlinestatic

Write the character 'chr' in encoded form as nul-terminated string to a buffer.

Parameters
[in]chrunicode character to encode
[out]bufptrbuffer to write to
[in]bufsizeallocation size of buffer pointer by 'bufptr'

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