template class axl::enc::AsciiToUtfConvert

#include <axl_enc_Utf.h>

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

    typedef DstEncoding0 DstEncoding;
    typedef DstEncoding::C DstUnit;

    // methods

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

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

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