template class axl::enc::UtfToAsciiConvert

#include <axl_enc_Utf.h>

template <
    typename SrcEncoding0,
    typename CaseOp = sl::NoOp<utf32_t>
    >
class UtfToAsciiConvert
{
public:
    // typedefs

    typedef SrcEncoding0 SrcEncoding;
    typedef SrcEncoding::C SrcUnit;

    // methods

    static
    size_t
    calcRequiredLength(
        const SrcUnit* p,
        size_t length
        );

    static
    size_t
    convert(
        char* dst,
        size_t dstLength,
        const SrcUnit* src,
        size_t srcLength,
        size_t* takenSrcLength_o = NULL
        );
};