/***************************************************************************
                            qt_QByteArray.h -  description
                             -------------------
    begin                : Tue Nov 20 20:51:20 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Nov 20 20:51:20 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef QT_QBYTEARRAY
#define QT_QBYTEARRAY

#include <qtc/qtc_types.h>

/**

  QByteArray class
***************************************************************************
 @short 
  QByteArray class
***************************************************************************
*/
qt_QByteArray * qt_new_QByteArray();
qt_QByteArray * qt_new_QByteArray1(int size);
qt_QByteArray * qt_new_QByteArray2(qt_QByteArray* a);
void qt_del_QByteArray( qt_QByteArray* p );
char* qt_QByteArray_data(qt_QByteArray* instPointer);
unsigned int qt_QByteArray_nrefs(qt_QByteArray* instPointer);
unsigned int qt_QByteArray_size(qt_QByteArray* instPointer);
unsigned int qt_QByteArray_count(qt_QByteArray* instPointer);
int qt_QByteArray_isEmpty(qt_QByteArray* instPointer);
int qt_QByteArray_isNull(qt_QByteArray* instPointer);
int qt_QByteArray_resize(qt_QByteArray* instPointer,unsigned int size);
int qt_QByteArray_truncate(qt_QByteArray* instPointer,unsigned int pos);
int qt_QByteArray_fill(qt_QByteArray* instPointer,char d, int size);
void qt_QByteArray_detach(qt_QByteArray* instPointer);
qt_QByteArray* qt_QByteArray_copy(qt_QByteArray* instPointer);
qt_QByteArray* qt_QByteArray_assign(qt_QByteArray* instPointer,qt_QByteArray* a);
qt_QByteArray* qt_QByteArray_assign1(qt_QByteArray* instPointer,char* a, unsigned int n);
qt_QByteArray* qt_QByteArray_duplicate(qt_QByteArray* instPointer,qt_QByteArray* a);
qt_QByteArray* qt_QByteArray_duplicate1(qt_QByteArray* instPointer,char* a, unsigned int n);
qt_QByteArray* qt_QByteArray_setRawData(qt_QByteArray* instPointer,char* a, unsigned int n);
void qt_QByteArray_resetRawData(qt_QByteArray* instPointer,char* a, unsigned int n);
//int qt_QByteArray_find(qt_QByteArray* instPointer,char d, unsigned int i);
//int qt_QByteArray_contains(qt_QByteArray* instPointer,char d);
void qt_QByteArray_sort(qt_QByteArray* instPointer);
//int qt_QByteArray_bsearch(qt_QByteArray* instPointer,char d);
char qt_QByteArray_at(qt_QByteArray* instPointer,unsigned int i);
//Iterator* qt_QByteArray_begin(qt_QByteArray* instPointer);
//Iterator* qt_QByteArray_end(qt_QByteArray* instPointer);
int qt_QByteArray_begin1(qt_QByteArray* instPointer);
int qt_QByteArray_end1(qt_QByteArray* instPointer);
// qt_QByteArray_QArray(qt_QByteArray* instPointer,int arg1, int arg2);

#endif
