//Auto-generated by kalyptus. DO NOT EDIT.
#include <kmdcodec.h>
#include <qcstring.h>

#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/KCodecs.h>

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KCodecs_base64Decode__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str)
{
	QCString  _qstring;
	(void) cls;
static QCString* _qcstring_str = 0;
	_qstring = KCodecs::base64Decode((const QCString&)*(QCString*) QtSupport::toQCString(env, str, &_qcstring_str));
	return QtSupport::fromQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KCodecs_base64Decode___3B(JNIEnv* env, jclass cls, jbyteArray in)
{
	QCString  _qstring;
	(void) cls;
static QByteArray* _qbyteArray_in = 0;
	_qstring = KCodecs::base64Decode((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, in, &_qbyteArray_in));
	return QtSupport::fromQCString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KCodecs_base64Decode___3B_3B(JNIEnv* env, jclass cls, jbyteArray in, jbyteArray out)
{
	(void) cls;
static QByteArray* _qbyteArray_in = 0;
static QByteArray* _qbyteArray_out = 0;
	KCodecs::base64Decode((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, in, &_qbyteArray_in), (QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, out, &_qbyteArray_out));
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KCodecs_base64Encode__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str)
{
	QCString  _qstring;
	(void) cls;
static QCString* _qcstring_str = 0;
	_qstring = KCodecs::base64Encode((const QCString&)*(QCString*) QtSupport::toQCString(env, str, &_qcstring_str));
	return QtSupport::fromQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KCodecs_base64Encode__Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring str, jboolean insertLFs)
{
	QCString  _qstring;
	(void) cls;
static QCString* _qcstring_str = 0;
	_qstring = KCodecs::base64Encode((const QCString&)*(QCString*) QtSupport::toQCString(env, str, &_qcstring_str), (bool) insertLFs);
	return QtSupport::fromQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KCodecs_base64Encode___3B(JNIEnv* env, jclass cls, jbyteArray in)
{
	QCString  _qstring;
	(void) cls;
static QByteArray* _qbyteArray_in = 0;
	_qstring = KCodecs::base64Encode((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, in, &_qbyteArray_in));
	return QtSupport::fromQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KCodecs_base64Encode___3BZ(JNIEnv* env, jclass cls, jbyteArray in, jboolean insertLFs)
{
	QCString  _qstring;
	(void) cls;
static QByteArray* _qbyteArray_in = 0;
	_qstring = KCodecs::base64Encode((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, in, &_qbyteArray_in), (bool) insertLFs);
	return QtSupport::fromQCString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KCodecs_base64Encode___3B_3B(JNIEnv* env, jclass cls, jbyteArray in, jbyteArray out)
{
	(void) cls;
static QByteArray* _qbyteArray_in = 0;
static QByteArray* _qbyteArray_out = 0;
	KCodecs::base64Encode((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, in, &_qbyteArray_in), (QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, out, &_qbyteArray_out));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KCodecs_base64Encode___3B_3BZ(JNIEnv* env, jclass cls, jbyteArray in, jbyteArray out, jboolean insertLFs)
{
	(void) cls;
static QByteArray* _qbyteArray_in = 0;
static QByteArray* _qbyteArray_out = 0;
	KCodecs::base64Encode((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, in, &_qbyteArray_in), (QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, out, &_qbyteArray_out), (bool) insertLFs);
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KCodecs_quotedPrintableDecode__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str)
{
	QCString  _qstring;
	(void) cls;
static QCString* _qcstring_str = 0;
	_qstring = KCodecs::quotedPrintableDecode((const QCString&)*(QCString*) QtSupport::toQCString(env, str, &_qcstring_str));
	return QtSupport::fromQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KCodecs_quotedPrintableDecode___3B(JNIEnv* env, jclass cls, jbyteArray in)
{
	QCString  _qstring;
	(void) cls;
static QByteArray* _qbyteArray_in = 0;
	_qstring = KCodecs::quotedPrintableDecode((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, in, &_qbyteArray_in));
	return QtSupport::fromQCString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KCodecs_quotedPrintableDecode___3B_3B(JNIEnv* env, jclass cls, jbyteArray in, jbyteArray out)
{
	(void) cls;
static QByteArray* _qbyteArray_in = 0;
static QByteArray* _qbyteArray_out = 0;
	KCodecs::quotedPrintableDecode((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, in, &_qbyteArray_in), (QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, out, &_qbyteArray_out));
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KCodecs_quotedPrintableEncode__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str)
{
	QCString  _qstring;
	(void) cls;
static QCString* _qcstring_str = 0;
	_qstring = KCodecs::quotedPrintableEncode((const QCString&)*(QCString*) QtSupport::toQCString(env, str, &_qcstring_str));
	return QtSupport::fromQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KCodecs_quotedPrintableEncode__Ljava_lang_String_2Z(JNIEnv* env, jclass cls, jstring str, jboolean useCRLF)
{
	QCString  _qstring;
	(void) cls;
static QCString* _qcstring_str = 0;
	_qstring = KCodecs::quotedPrintableEncode((const QCString&)*(QCString*) QtSupport::toQCString(env, str, &_qcstring_str), (bool) useCRLF);
	return QtSupport::fromQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KCodecs_quotedPrintableEncode___3B(JNIEnv* env, jclass cls, jbyteArray in)
{
	QCString  _qstring;
	(void) cls;
static QByteArray* _qbyteArray_in = 0;
	_qstring = KCodecs::quotedPrintableEncode((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, in, &_qbyteArray_in));
	return QtSupport::fromQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KCodecs_quotedPrintableEncode___3BZ(JNIEnv* env, jclass cls, jbyteArray in, jboolean useCRLF)
{
	QCString  _qstring;
	(void) cls;
static QByteArray* _qbyteArray_in = 0;
	_qstring = KCodecs::quotedPrintableEncode((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, in, &_qbyteArray_in), (bool) useCRLF);
	return QtSupport::fromQCString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KCodecs_quotedPrintableEncode___3B_3BZ(JNIEnv* env, jclass cls, jbyteArray in, jbyteArray out, jboolean useCRLF)
{
	(void) cls;
static QByteArray* _qbyteArray_in = 0;
static QByteArray* _qbyteArray_out = 0;
	KCodecs::quotedPrintableEncode((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, in, &_qbyteArray_in), (QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, out, &_qbyteArray_out), (bool) useCRLF);
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KCodecs_uudecode__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str)
{
	QCString  _qstring;
	(void) cls;
static QCString* _qcstring_str = 0;
	_qstring = KCodecs::uudecode((const QCString&)*(QCString*) QtSupport::toQCString(env, str, &_qcstring_str));
	return QtSupport::fromQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KCodecs_uudecode___3B(JNIEnv* env, jclass cls, jbyteArray in)
{
	QCString  _qstring;
	(void) cls;
static QByteArray* _qbyteArray_in = 0;
	_qstring = KCodecs::uudecode((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, in, &_qbyteArray_in));
	return QtSupport::fromQCString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KCodecs_uudecode___3B_3B(JNIEnv* env, jclass cls, jbyteArray in, jbyteArray out)
{
	(void) cls;
static QByteArray* _qbyteArray_in = 0;
static QByteArray* _qbyteArray_out = 0;
	KCodecs::uudecode((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, in, &_qbyteArray_in), (QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, out, &_qbyteArray_out));
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KCodecs_uuencode__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring str)
{
	QCString  _qstring;
	(void) cls;
static QCString* _qcstring_str = 0;
	_qstring = KCodecs::uuencode((const QCString&)*(QCString*) QtSupport::toQCString(env, str, &_qcstring_str));
	return QtSupport::fromQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KCodecs_uuencode___3B(JNIEnv* env, jclass cls, jbyteArray in)
{
	QCString  _qstring;
	(void) cls;
static QByteArray* _qbyteArray_in = 0;
	_qstring = KCodecs::uuencode((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, in, &_qbyteArray_in));
	return QtSupport::fromQCString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KCodecs_uuencode___3B_3B(JNIEnv* env, jclass cls, jbyteArray in, jbyteArray out)
{
	(void) cls;
static QByteArray* _qbyteArray_in = 0;
static QByteArray* _qbyteArray_out = 0;
	KCodecs::uuencode((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, in, &_qbyteArray_in), (QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, out, &_qbyteArray_out));
	return;
}

