Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6711891ce757817bba854bf3f25205a > files > 102

qtjambi-doc-4.3.3-3mdv2008.1.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.5.0_09) on Tue Aug 07 16:57:34 CEST 2007 -->
<TITLE>
QByteArray
</TITLE>

<META NAME="keywords" CONTENT="com.trolltech.qt.core.QByteArray class">

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">

<SCRIPT type="text/javascript">
function windowTitle()
{
    parent.document.title="QByteArray";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>

</HEAD>

<BODY BGCOLOR="white" onload="windowTitle();">


<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/core/QBuffer.html" title="class in com.trolltech.qt.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArrayMatcher.html" title="class in com.trolltech.qt.core"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/core/QByteArray.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QByteArray.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
com.trolltech.qt.core</FONT>
<BR>
Class QByteArray</H2>
<PRE>
java.lang.Object
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">com.trolltech.qt.QSignalEmitter</A>
      <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">com.trolltech.qt.QtJambiObject</A>
          <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.trolltech.qt.core.QByteArray</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A>, java.lang.Comparable</DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>QByteArray</B><DT>extends <A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A><DT>implements java.lang.Comparable</DL>
</PRE>

<P>
<p>The <a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a> class provides an array of bytes.</p>
<p><a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a> can be used to store both raw bytes (including '\0's) and traditional 8-bit '\0'-terminated strings. Using <a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a> is much more convenient than using <tt>const char *</tt>. Behind the scenes, it always ensures that the data is followed by a '\0' terminator, and uses implicit sharing</tt> (copy-on-write) to reduce memory usage and avoid needless copying of data.</p>
<p>In addition to <a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a>, Qt also provides the <a href="%2E%2E/porting4.html#qstring"><tt>QString</tt></a> class to store string data. For most purposes, <a href="%2E%2E/porting4.html#qstring"><tt>QString</tt></a> is the class you want to use. It stores 16-bit Unicode characters, making it easy to store non-ASCII/non-Latin-1 characters in your application. Furthermore, <a href="%2E%2E/porting4.html#qstring"><tt>QString</tt></a> is used throughout in the Qt API. The two main cases where <a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a> is appropriate are when you need to store raw binary data, and when memory conservation is critical (e.g&#x2e; with Qtopia Core).</p>
<p>One way to initialize a <a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a> is simply to pass a <tt>const char *</tt> to its constructor. For example, the following code creates a byte array of size 5 containing the data &quot;Hello&quot;:</p>
<pre>    QByteArray ba(&quot;Hello&quot;);</pre>
<p>Although the <a href="QByteArray.html#size()"><tt>size</tt></a> is 5, the byte array also maintains an extra '\0' character at the end so that if a function is used that asks for a pointer to the underlying data (e.g&#x2e; a call to <a href="QByteArray.html#data()"><tt>data</tt></a>), the data pointed to is guaranteed to be '\0'-terminated.</p>
<p><a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a> makes a deep copy of the <tt>const char *</tt> data, so you can modify it later without experiencing side effects. (If for performance reasons you don't want to take a deep copy of the character data, use QByteArray::fromRawData() instead.)</p>
<p>Another approach is to set the size of the array using <a href="QByteArray.html#resize(int)"><tt>resize</tt></a> and to initialize the data byte per byte. <a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a> uses 0-based indexes, just like C++ arrays. To access the byte at a particular index position, you can use operator[](). On non-const byte arrays, operator[]() returns a reference to a byte that can be used on the left side of an assignment. For example:</p>
<pre>    QByteArray ba;
    ba.resize(5);
    ba[0] = 0x3c;
    ba[1] = 0xb8;
    ba[2] = 0x64;
    ba[3] = 0x18;
    ba[4] = 0xca;</pre>
<p>For read-only access, an alternative syntax is to use <a href="QByteArray.html#at(int)"><tt>at</tt></a>:</p>
<pre>    for (int i = 0; i &lt; ba.size(); ++i) {
        if (ba.at(i) &gt;= 'a' &amp;&amp; ba.at(i) &lt;= 'f')
            cout &lt;&lt; &quot;Found character in range [a-f]&quot; &lt;&lt; endl;
    }</pre>
<p><a href="QByteArray.html#at(int)"><tt>at</tt></a> can be faster than operator[](), because it never causes a deep copy</tt> to occur.</p>
<p>To extract many bytes at a time, use <a href="QByteArray.html#left(int)"><tt>left</tt></a>, <a href="QByteArray.html#right(int)"><tt>right</tt></a>, or <a href="QByteArray.html#mid(int, int)"><tt>mid</tt></a>.</p>
<p>A <a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a> can embed '\0' bytes. The <a href="QByteArray.html#size()"><tt>size</tt></a> function always returns the size of the whole array, including embedded '\0' bytes. If you want to obtain the length of the data up to and excluding the first '\0' character, call qstrlen() on the byte array.</p>
<p>After a call to <a href="QByteArray.html#resize(int)"><tt>resize</tt></a>, newly allocated bytes have undefined values. To set all the bytes to a particular value, call fill().</p>
<p>To obtain a pointer to the actual character data, call <a href="QByteArray.html#data()"><tt>data</tt></a> or constData(). These functions return a pointer to the beginning of the data. The pointer is guaranteed to remain valid until a non-const function is called on the <a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a>. It is also guaranteed that the data ends with a '\0' byte. This '\0' byte is automatically provided by <a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a> and is not counted in <a href="QByteArray.html#size()"><tt>size</tt></a>.</p>
<p><a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a> provides the following basic functions for modifying the byte data: append(), prepend(), insert(), <a href="%2E%2E/qtjambi-typesystem.html#replace"><tt>replace</tt></a>, and <a href="%2E%2E/qtjambi-typesystem.html#remove"><tt>remove</tt></a>. For example:</p>
<pre>    QByteArray x(&quot;and&quot;);
    x.prepend(&quot;rock &quot;);         <span class="comment">// x == &quot;rock and&quot;</span>
    x.append(&quot; roll&quot;);          <span class="comment">// x == &quot;rock and roll&quot;</span>
    x.replace(5, 3, &quot;&amp;&quot;);       <span class="comment">// x == &quot;rock &amp; roll&quot;</span></pre>
<p>The <a href="%2E%2E/qtjambi-typesystem.html#replace"><tt>replace</tt></a> and <a href="%2E%2E/qtjambi-typesystem.html#remove"><tt>remove</tt></a> functions' first two arguments are the position from which to start erasing and the number of bytes that should be erased.</p>
<p>If you are building a <a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a> gradually and know in advance approximately how many bytes the <a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a> will contain, you can call <a href="QByteArray.html#reserve(int)"><tt>reserve</tt></a>, asking <a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a> to preallocate a certain amount of memory. You can also call <a href="QByteArray.html#capacity()"><tt>capacity</tt></a> to find out how much memory <a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a> actually allocated.</p>
<p>A frequent requirement is to remove whitespace characters from a byte array ('\n', '\t', ' ', etc.)&#x2e; If you want to remove whitespace from both ends of a <a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a>, use <a href="QByteArray.html#trimmed()"><tt>trimmed</tt></a>. If you want to remove whitespace from both ends and replace multiple consecutive whitespaces with a single space character within the byte array, use <a href="QByteArray.html#simplified()"><tt>simplified</tt></a>.</p>
<p>If you want to find all occurrences of a particular character or substring in a <a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a>, use <a href="QByteArray.html#indexOf(java.lang.String, int)"><tt>indexOf</tt></a> or <a href="QByteArray.html#lastIndexOf(com.trolltech.qt.core.QByteArray, int)"><tt>lastIndexOf</tt></a>. The former searches forward starting from a given index position, the latter searches backward. Both return the index position of the character or substring if they find it; otherwise, they return -1. For example, here's a typical loop that finds all occurrences of a particular substring:</p>
<pre>    QByteArray ba(&quot;We must be &lt;b&gt;bold&lt;/b&gt;, very &lt;b&gt;bold&lt;/b&gt;&quot;);
    int j = 0;
    while ((j = ba.indexOf(&quot;&lt;b&gt;&quot;, j)) != -1) {
        cout &lt;&lt; &quot;Found &lt;b&gt; tag at index position &quot; &lt;&lt; j &lt;&lt; endl;
        ++j;
    }</pre>
<p>If you simply want to check whether a <a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a> contains a particular character or substring, use <a href="QByteArray.html#contains(com.trolltech.qt.core.QByteArray)"><tt>contains</tt></a>. If you want to find out how many times a particular character or substring occurs in the byte array, use <a href="QByteArray.html#count(com.trolltech.qt.core.QByteArray)"><tt>count</tt></a>. If you want to replace all occurrences of a particular value with another, use one of the two-parameter <a href="%2E%2E/qtjambi-typesystem.html#replace"><tt>replace</tt></a> overloads.</p>
<p>QByteArrays can be compared using overloaded operators such as operator&lt;(), operator&lt;=(), operator==(), operator&gt;=(), and so on. The comparison is based exclusively on the numeric values of the characters and is very fast, but is not what a human would expect. QString::localeAwareCompare() is a better choice for sorting user-interface strings.</p>
<p>For historical reasons, <a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a> distinguishes between a null byte array and an empty byte array. A <i>null</i> byte array is a byte array that is initialized using <a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a>'s default constructor or by passing (const char *)0 to the constructor. An <i>empty</i> byte array is any byte array with size 0. A null byte array is always empty, but an empty byte array isn't necessarily null:</p>
<pre>    QByteArray().isNull();          <span class="comment">// returns true</span>
    QByteArray().isEmpty();         <span class="comment">// returns true</span>

    QByteArray(&quot;&quot;).isNull();        <span class="comment">// returns false</span>
    QByteArray(&quot;&quot;).isEmpty();       <span class="comment">// returns true</span>

    QByteArray(&quot;abc&quot;).isNull();     <span class="comment">// returns false</span>
    QByteArray(&quot;abc&quot;).isEmpty();    <span class="comment">// returns false</span></pre>
<p>All functions except <a href="QByteArray.html#isNull()"><tt>isNull</tt></a> treat null byte arrays the same as empty byte arrays. For example, <a href="QByteArray.html#data()"><tt>data</tt></a> returns a pointer to a '\0' character for a null byte array (<i>not</i> a null pointer), and <a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a> compares equal to <a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a>(&quot;&quot;). We recommend that you always use <a href="QByteArray.html#isEmpty()"><tt>isEmpty</tt></a> and avoid <a href="QByteArray.html#isNull()"><tt>isNull</tt></a>.</p>
<a name="note-on-8-bit-character-comparisons"></a>
<h3>Note on 8-bit Character Comparisons</h3>
<p>In <a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a>, the notion of uppercase and lowercase and of which character is greater than or less than another character is locale dependent. This affects functions that support a case insensitive option or that compare or lowercase or uppercase their arguments. Case insensitive operations and comparisons will be accurate if both strings contain only ASCII characters. (If <tt>$LC_CTYPE</tt> is set, most Unix systems do &quot;the right thing&quot;.) Functions that this affects include <a href="QByteArray.html#contains(com.trolltech.qt.core.QByteArray)"><tt>contains</tt></a>, <a href="QByteArray.html#indexOf(java.lang.String, int)"><tt>indexOf</tt></a>, <a href="QByteArray.html#lastIndexOf(com.trolltech.qt.core.QByteArray, int)"><tt>lastIndexOf</tt></a>, operator&lt;(), operator&lt;=(), operator&gt;(), operator&gt;=(), <a href="QByteArray.html#toLower()"><tt>toLower</tt></a> and <a href="QByteArray.html#toUpper()"><tt>toUpper</tt></a>.</p>
<p>This issue does not apply to QStrings since they represent characters using Unicode.</p>
<P>

<P>
<DL>
<DT><B>See Also:</B><DD><a href="%2E%2E/porting4.html#qstring"><tt>QString</tt></a>, 
<a href="QBitArray.html"><tt>QBitArray</tt></a></DL>
<HR>

<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->

<A NAME="nested_class_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Nested Class Summary</B></FONT></TH>
</TR>
</TABLE>
&nbsp;<A NAME="nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal0.html" title="class in com.trolltech.qt">QSignalEmitter.Signal0</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="class in com.trolltech.qt">QSignalEmitter.Signal1</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal1.html" title="type parameter in QSignalEmitter.Signal1">A</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="class in com.trolltech.qt">QSignalEmitter.Signal2</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal2.html" title="type parameter in QSignalEmitter.Signal2">B</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="class in com.trolltech.qt">QSignalEmitter.Signal3</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal3.html" title="type parameter in QSignalEmitter.Signal3">C</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="class in com.trolltech.qt">QSignalEmitter.Signal4</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal4.html" title="type parameter in QSignalEmitter.Signal4">D</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="class in com.trolltech.qt">QSignalEmitter.Signal5</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal5.html" title="type parameter in QSignalEmitter.Signal5">E</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="class in com.trolltech.qt">QSignalEmitter.Signal6</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal6.html" title="type parameter in QSignalEmitter.Signal6">F</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="class in com.trolltech.qt">QSignalEmitter.Signal7</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal7.html" title="type parameter in QSignalEmitter.Signal7">G</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="class in com.trolltech.qt">QSignalEmitter.Signal8</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal8.html" title="type parameter in QSignalEmitter.Signal8">H</A>&gt;, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="class in com.trolltech.qt">QSignalEmitter.Signal9</A>&lt;<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">A</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">B</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">C</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">D</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">E</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">F</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">G</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">H</A>,<A HREF="../../../../com/trolltech/qt/QSignalEmitter.Signal9.html" title="type parameter in QSignalEmitter.Signal9">I</A>&gt;</CODE></TD>
</TR>
</TABLE>
&nbsp;

<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#QByteArray()">QByteArray</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an empty byte array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#QByteArray(byte[])">QByteArray</A></B>(byte[]&nbsp;data)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new QByteArray with the contents of <tt>data</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#QByteArray(int, byte)">QByteArray</A></B>(int&nbsp;size,
           byte&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a byte array of size <tt>size</tt> with every byte set to character <tt>c</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#QByteArray(com.trolltech.qt.core.QByteArray)">QByteArray</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a copy of <tt>arg__1</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#QByteArray(java.lang.String)">QByteArray</A></B>(java.lang.String&nbsp;s)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a byte array initialized with the string <tt>str</tt>.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#append(byte)">append</A></B>(byte&nbsp;other)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function appends <tt>other</tt> to the end of this QByteArray.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#append(com.trolltech.qt.core.QByteArray)">append</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;other)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function appends the contents of <tt>other</tt> to the end of
this QByteArray.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#append(java.lang.String)">append</A></B>(java.lang.String&nbsp;other)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function appends the contents of <tt>other</tt> to the end of this
QByteArray.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;byte</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#at(int)">at</A></B>(int&nbsp;i)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the character at index position <tt>i</tt> in the byte array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#capacity()">capacity</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the maximum number of bytes that can be stored in the byte array without forcing a reallocation.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#chop(int)">chop</A></B>(int&nbsp;n)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes <tt>n</tt> bytes from the end of the byte array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#clear()">clear</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Clears the contents of the byte array and makes it empty.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#compareTo(java.lang.Object)">compareTo</A></B>(java.lang.Object&nbsp;other)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#contains(byte)">contains</A></B>(byte&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the byte array contains the character <tt>c</tt>; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#contains(com.trolltech.qt.core.QByteArray)">contains</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;a)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the byte array contains an occurrence of the byte array <tt>a</tt>; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#contains(java.lang.String)">contains</A></B>(java.lang.String&nbsp;str)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true there is at least one occurrence of <tt>str</tt>
in this QByteArray.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#count(byte)">count</A></B>(byte&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of occurrences of character <tt>c</tt> in the byte array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#count(com.trolltech.qt.core.QByteArray)">count</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;a)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of (potentially overlapping) occurrences of byte array <tt>a</tt> in this byte array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#count(java.lang.String)">count</A></B>(java.lang.String&nbsp;str)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of occurrences of <tt>str</tt> in this QByteArray.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#data()">data</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a pointer to the data stored in the byte array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#endsWith(byte)">endsWith</A></B>(byte&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this byte array ends with character <tt>c</tt>; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#endsWith(com.trolltech.qt.core.QByteArray)">endsWith</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;a)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this byte array ends with byte array <tt>a</tt>; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#endsWith(java.lang.String)">endsWith</A></B>(java.lang.String&nbsp;str)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this QByteArray ends with <tt>str</tt>; otherwise,
returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object&nbsp;other)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#fill(byte)">fill</A></B>(byte&nbsp;b)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets every byte in the byte array to character <tt>b</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#fill(byte, int)">fill</A></B>(byte&nbsp;b,
     int&nbsp;size)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets every byte in the byte array to character <tt>b</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#fromBase64(com.trolltech.qt.core.QByteArray)">fromBase64</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;base64)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a decoded copy of the Base64 array <tt>base64</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#fromHex(com.trolltech.qt.core.QByteArray)">fromHex</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;hexEncoded)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a decoded copy of the hex encoded array <tt>hexEncoded</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#fromNativePointer(com.trolltech.qt.QNativePointer)">fromNativePointer</A></B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns the QByteArray instance pointed to by nativePointer</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#hashCode()">hashCode</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#indexOf(byte)">indexOf</A></B>(byte&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QByteArray.html#indexOf(java.lang.String, int)"><tt>indexOf</tt></a>(<tt>c</tt>, 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#indexOf(byte, int)">indexOf</A></B>(byte&nbsp;c,
        int&nbsp;from)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the index position of the first occurrence of the character <tt>c</tt> in the byte array, searching forward from index position <tt>from</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#indexOf(com.trolltech.qt.core.QByteArray)">indexOf</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;a)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QByteArray.html#indexOf(java.lang.String, int)"><tt>indexOf</tt></a>(<tt>a</tt>, 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#indexOf(com.trolltech.qt.core.QByteArray, int)">indexOf</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;a,
        int&nbsp;from)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the index position of the first occurrence of the byte array <tt>a</tt> in this byte array, searching forward from index position <tt>from</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#indexOf(java.lang.String)">indexOf</A></B>(java.lang.String&nbsp;s)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QByteArray.html#indexOf(java.lang.String, int)"><tt>indexOf</tt></a>(<tt>s</tt>, 0).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#indexOf(java.lang.String, int)">indexOf</A></B>(java.lang.String&nbsp;s,
        int&nbsp;from)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the index position of the first occurrence of the string <tt>s</tt> in the byte array, searching forward from index position <tt>from</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#insert(int, byte)">insert</A></B>(int&nbsp;i,
       byte&nbsp;b)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts byte <tt>b</tt> at index position <tt>i</tt> in the byte array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#insert(int, com.trolltech.qt.core.QByteArray)">insert</A></B>(int&nbsp;i,
       <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;ba)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the byte array <tt>ba</tt> at index position <tt>i</tt> and returns a
reference to this byte array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#insert(int, java.lang.String)">insert</A></B>(int&nbsp;i,
       java.lang.String&nbsp;str)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts String <tt>str</tt> at index position <tt>i</tt> in the byte array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#isEmpty()">isEmpty</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the byte array has size 0; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#isNull()">isNull</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this byte array is null; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#lastIndexOf(byte)">lastIndexOf</A></B>(byte&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QByteArray.html#lastIndexOf(com.trolltech.qt.core.QByteArray, int)"><tt>lastIndexOf</tt></a>(<tt>c</tt>, -1).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#lastIndexOf(byte, int)">lastIndexOf</A></B>(byte&nbsp;c,
            int&nbsp;from)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the index position of the last occurrence of character <tt>c</tt> in the byte array, searching backward from index position <tt>from</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#lastIndexOf(com.trolltech.qt.core.QByteArray)">lastIndexOf</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;a)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QByteArray.html#lastIndexOf(com.trolltech.qt.core.QByteArray, int)"><tt>lastIndexOf</tt></a>(<tt>a</tt>, -1).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#lastIndexOf(com.trolltech.qt.core.QByteArray, int)">lastIndexOf</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;a,
            int&nbsp;from)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the index position of the last occurrence of the byte array <tt>a</tt> in this byte array, searching backward from index position <tt>from</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#lastIndexOf(java.lang.String)">lastIndexOf</A></B>(java.lang.String&nbsp;s)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QByteArray.html#lastIndexOf(com.trolltech.qt.core.QByteArray, int)"><tt>lastIndexOf</tt></a>(<tt>s</tt>, -1).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#lastIndexOf(java.lang.String, int)">lastIndexOf</A></B>(java.lang.String&nbsp;s,
            int&nbsp;from)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the index position of the last occurrence of the string <tt>s</tt> in the byte array, searching backward from index position <tt>from</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#left(int)">left</A></B>(int&nbsp;len)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a byte array that contains the leftmost <tt>len</tt> bytes of this byte array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#leftJustified(int)">leftJustified</A></B>(int&nbsp;width)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QByteArray.html#leftJustified(int, byte, boolean)"><tt>leftJustified</tt></a>(<tt>width</tt>, ' ', false).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#leftJustified(int, byte)">leftJustified</A></B>(int&nbsp;width,
              byte&nbsp;fill)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QByteArray.html#leftJustified(int, byte, boolean)"><tt>leftJustified</tt></a>(<tt>width</tt>, <tt>fill</tt>, false).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#leftJustified(int, byte, boolean)">leftJustified</A></B>(int&nbsp;width,
              byte&nbsp;fill,
              boolean&nbsp;truncate)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a byte array of size <tt>width</tt> that contains this byte array padded by the <tt>fill</tt> character.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#length()">length</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Same as <a href="QByteArray.html#size()"><tt>size</tt></a>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#mid(int)">mid</A></B>(int&nbsp;index)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QByteArray.html#mid(int, int)">mid</tt></a>(<tt>index</tt>, -1).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#mid(int, int)">mid</A></B>(int&nbsp;index,
    int&nbsp;len)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a byte array containing <tt>len</tt> bytes from this byte array, starting at position <tt>index</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#nativePointerArray(com.trolltech.qt.core.QByteArray[])">nativePointerArray</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>[]&nbsp;array)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function returns a QNativePointer that is pointing to the specified QByteArray array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#number(double)">number</A></B>(double&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QByteArray.html#number(int, int)">number</tt></a>(<tt>arg__1</tt>, 'g', 6).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#number(double, byte)">number</A></B>(double&nbsp;arg__1,
       byte&nbsp;f)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QByteArray.html#number(int, int)">number</tt></a>(<tt>arg__1</tt>, <tt>f</tt>, 6).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#number(double, byte, int)">number</A></B>(double&nbsp;arg__1,
       byte&nbsp;f,
       int&nbsp;prec)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a byte array that contains the printed value of <tt>arg__1</tt>, formatted in format <tt>f</tt> with precision <tt>prec</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#number(int)">number</A></B>(int&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QByteArray.html#number(int, int)">number</tt></a>(<tt>arg__1</tt>, 10).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#number(int, int)">number</A></B>(int&nbsp;arg__1,
       int&nbsp;base)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a byte array containing the string equivalent of the number <tt>arg__1</tt> to base <tt>base</tt> (10 by default).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#number(long)">number</A></B>(long&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QByteArray.html#number(int, int)">number</tt></a>(<tt>arg__1</tt>, 10).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#number(long, int)">number</A></B>(long&nbsp;arg__1,
       int&nbsp;base)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a byte array containing the string equivalent of the
number <tt>arg__1</tt> to base <tt>base</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#prepend(byte)">prepend</A></B>(byte&nbsp;other)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prepends <tt>other</tt> to this QByteArray, and returns the resulting
array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#prepend(com.trolltech.qt.core.QByteArray)">prepend</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;other)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prepends <tt>other</tt> to this QByteArray, and returns the resulting
array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#prepend(java.lang.String)">prepend</A></B>(java.lang.String&nbsp;str)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prepends <tt>str</tt> to this QByteArray, and returns the resulting
array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#readFrom(com.trolltech.qt.core.QDataStream)">readFrom</A></B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reads a QByteArray from arg__1.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#remove(int, int)">remove</A></B>(int&nbsp;pos,
       int&nbsp;len)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes <tt>len</tt> bytes from the array, starting at index position
<tt>pos</tt>, and returns a reference to the array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#replace(byte, byte)">replace</A></B>(byte&nbsp;before,
        byte&nbsp;after)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Replaces every occurrence of <tt>before</tt> with <tt>after</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#replace(byte, com.trolltech.qt.core.QByteArray)">replace</A></B>(byte&nbsp;before,
        <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;after)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Replaces every occurrence of <tt>before</tt> with <tt>after</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#replace(byte, java.lang.String)">replace</A></B>(byte&nbsp;before,
        java.lang.String&nbsp;after)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Replaces every occurrence of <tt>before</tt> with <tt>after</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#replace(int, int, com.trolltech.qt.core.QByteArray)">replace</A></B>(int&nbsp;pos,
        int&nbsp;len,
        <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;after)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Replaces every occurrence of <tt>before</tt> with <tt>after</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#replace(com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QByteArray)">replace</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;before,
        <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;after)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Replaces every occurrence of <tt>before</tt> with <tt>after</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#replace(com.trolltech.qt.core.QByteArray, java.lang.String)">replace</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;before,
        java.lang.String&nbsp;after)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Replaces every occurrence of the byte array <tt>before</tt> with the
string <tt>after</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#replace(java.lang.String, com.trolltech.qt.core.QByteArray)">replace</A></B>(java.lang.String&nbsp;before,
        <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;after)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Replaces every occurrence of <tt>before</tt> with <tt>after</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#replace(java.lang.String, java.lang.String)">replace</A></B>(java.lang.String&nbsp;before,
        java.lang.String&nbsp;after)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Replaces every occurrence of <tt>before</tt> with <tt>after</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#reserve(int)">reserve</A></B>(int&nbsp;size)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Attempts to allocate memory for at least <tt>size</tt> bytes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#resize(int)">resize</A></B>(int&nbsp;size)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the size of the byte array to <tt>size</tt> bytes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#right(int)">right</A></B>(int&nbsp;len)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a byte array that contains the rightmost <tt>len</tt> bytes of this byte array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#rightJustified(int)">rightJustified</A></B>(int&nbsp;width)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QByteArray.html#rightJustified(int, byte, boolean)"><tt>rightJustified</tt></a>(<tt>width</tt>, ' ', false).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#rightJustified(int, byte)">rightJustified</A></B>(int&nbsp;width,
               byte&nbsp;fill)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Equivalent to <a href="QByteArray.html#rightJustified(int, byte, boolean)"><tt>rightJustified</tt></a>(<tt>width</tt>, <tt>fill</tt>, false).</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#rightJustified(int, byte, boolean)">rightJustified</A></B>(int&nbsp;width,
               byte&nbsp;fill,
               boolean&nbsp;truncate)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a byte array of size <tt>width</tt> that contains the <tt>fill</tt> character followed by this byte array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#set(com.trolltech.qt.core.QByteArray)">set</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;other)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This function sets the contents of this QByteArray equal to <tt>other</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#setNum(double)">setNum</A></B>(double&nbsp;n)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded function provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#setNum(double, char)">setNum</A></B>(double&nbsp;n,
       char&nbsp;f)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded function provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#setNum(double, char, int)">setNum</A></B>(double&nbsp;n,
       char&nbsp;f,
       int&nbsp;prec)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the byte array to the printed value of <tt>n</tt>, formatted in format
    <tt>f</tt> with precision <tt>prec</tt>, and returns a reference to the
    byte array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#setNum(float)">setNum</A></B>(float&nbsp;n)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the byte array to the printed value of <tt>n</tt>, formatted in format
<tt>f</tt> with precision 6, and returns a reference to the byte
array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#setNum(float, char)">setNum</A></B>(float&nbsp;n,
       char&nbsp;f)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the byte array to the printed value of <tt>n</tt>, formatted in format
<tt>f</tt> with precision 6, and returns a reference to the byte
array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#setNum(float, char, int)">setNum</A></B>(float&nbsp;n,
       char&nbsp;f,
       int&nbsp;prec)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the byte array to the printed value of <tt>n</tt>, formatted in format
<tt>f</tt> with precision <tt>prec</tt>, and returns a reference to the byte
array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#setNum(int)">setNum</A></B>(int&nbsp;n)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the array to the printed value of <tt>n</tt></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#setNum(int, int)">setNum</A></B>(int&nbsp;n,
       int&nbsp;base)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the array to the printed value of <tt>n</tt> using <tt>base</tt> as base.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#setNum(long)">setNum</A></B>(long&nbsp;n)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded function provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#setNum(long, int)">setNum</A></B>(long&nbsp;n,
       int&nbsp;base)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded function provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#setNum(short)">setNum</A></B>(short&nbsp;n)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded function provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#setNum(short, int)">setNum</A></B>(short&nbsp;n,
       int&nbsp;base)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is an overloaded function provided for convenience.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#simplified()">simplified</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a byte array that has whitespace removed from the start and the end, and which has each sequence of internal whitespace replaced with a single space.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#size()">size</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of bytes in this byte array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.List&lt;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&gt;</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#split(byte)">split</A></B>(byte&nbsp;sep)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Splits the byte array into subarrays wherever <tt>sep</tt> occurs, and returns the list of those arrays.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#squeeze()">squeeze</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Releases any memory not required to store the array's data.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#startsWith(byte)">startsWith</A></B>(byte&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this byte array starts with character <tt>c</tt>; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#startsWith(com.trolltech.qt.core.QByteArray)">startsWith</A></B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;a)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this byte array starts with byte array <tt>a</tt>; otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#startsWith(java.lang.String)">startsWith</A></B>(java.lang.String&nbsp;str)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this byte array starts with string <tt>str</tt>;
otherwise returns false.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#toBase64()">toBase64</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a copy of the byte array, encoded as Base64.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;byte[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#toByteArray()">toByteArray</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the contents of this QByteArray.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;char</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#toChar()">toChar</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the byte array converted to a <b>char</b>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;char</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#toChar(int)">toChar</A></B>(int&nbsp;base)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the byte array converted to an <b>char</b> using base
<tt>base</tt>, which is 10 by default and must be between 2 and 36, or
0.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#toDouble()">toDouble</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the byte array converted to an <b>double</b>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;float</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#toFloat()">toFloat</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the byte array converted to an <b>float</b>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#toHex()">toHex</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a hex encoded copy of the byte array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#toInt()">toInt</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the byte array converted to an <b>int</b> using base
10.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#toInt(int)">toInt</A></B>(int&nbsp;base)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the byte array converted to an <b>int</b> using base
<tt>base</tt>, which is 10 by default and must be between 2 and 36, or
0.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#toLower()">toLower</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a lowercase copy of the byte array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#toString()">toString</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string representation of this QByteArray.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#toUpper()">toUpper</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns an uppercase copy of the byte array.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#trimmed()">trimmed</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a byte array that has whitespace removed from the start and the end.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#truncate(int)">truncate</A></B>(int&nbsp;pos)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Truncates the byte array at index position <tt>pos</tt>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/trolltech/qt/core/QByteArray.html#writeTo(com.trolltech.qt.core.QDataStream)">writeTo</A></B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes thisQByteArray to arg__1.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiObject"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiObject.html" title="class in com.trolltech.qt">QtJambiObject</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiObject.html#dispose()">dispose</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#disposed()">disposed</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#finalize()">finalize</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#reassignNativeResources(com.trolltech.qt.QtJambiObject, java.lang.Class)">reassignNativeResources</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String)">tr</A>, <A HREF="../../../../com/trolltech/qt/QtJambiObject.html#tr(java.lang.String, java.lang.String, int)">tr</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QSignalEmitter"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QSignalEmitter.html" title="class in com.trolltech.qt">QSignalEmitter</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#blockSignals(boolean)">blockSignals</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect()">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#disconnect(java.lang.Object)">disconnect</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalsBlocked()">signalsBlocked</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#signalSender()">signalSender</A>, <A HREF="../../../../com/trolltech/qt/QSignalEmitter.html#thread()">thread</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, getClass, notify, notifyAll, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_com.trolltech.qt.QtJambiInterface"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface com.trolltech.qt.<A HREF="../../../../com/trolltech/qt/QtJambiInterface.html" title="interface in com.trolltech.qt">QtJambiInterface</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#disableGarbageCollection()">disableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativeId()">nativeId</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#nativePointer()">nativePointer</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#reenableGarbageCollection()">reenableGarbageCollection</A>, <A HREF="../../../../com/trolltech/qt/QtJambiInterface.html#setJavaOwnership()">setJavaOwnership</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="QByteArray(com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
QByteArray</H3>
<PRE>
public <B>QByteArray</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;arg__1)</PRE>
<DL>
<DD><p>Constructs a copy of <tt>arg__1</tt>.</p>
<p>This operation takes constant time</tt>, because <a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a> is implicitly shared</tt>. This makes returning a <a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a> from a function very fast. If a shared instance is modified, it will be copied (copy-on-write), and that takes linear time</tt>.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><tt>operator=</tt></DL>
</DL>
<HR>

<A NAME="QByteArray(int, byte)"><!-- --></A><H3>
QByteArray</H3>
<PRE>
public <B>QByteArray</B>(int&nbsp;size,
                  byte&nbsp;c)</PRE>
<DL>
<DD><p>Constructs a byte array of size <tt>size</tt> with every byte set to character <tt>c</tt>.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><tt>fill</tt></DL>
</DL>
<HR>

<A NAME="QByteArray()"><!-- --></A><H3>
QByteArray</H3>
<PRE>
public <B>QByteArray</B>()</PRE>
<DL>
<DD><p>Constructs an empty byte array.</p>
<P>
<DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#isEmpty()"><tt>isEmpty</tt></a></DL>
</DL>
<HR>

<A NAME="QByteArray(java.lang.String)"><!-- --></A><H3>
QByteArray</H3>
<PRE>
public <B>QByteArray</B>(java.lang.String&nbsp;s)</PRE>
<DL>
<DD>Constructs a byte array initialized with the string <tt>str</tt>.
<p>
QByteArray makes a deep copy of the string data.
<P>
</DL>
<HR>

<A NAME="QByteArray(byte[])"><!-- --></A><H3>
QByteArray</H3>
<PRE>
public <B>QByteArray</B>(byte[]&nbsp;data)</PRE>
<DL>
<DD>Constructs a new QByteArray with the contents of <tt>data</tt>.
<P>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>

<A NAME="at(int)"><!-- --></A><H3>
at</H3>
<PRE>
public final byte <B>at</B>(int&nbsp;i)</PRE>
<DL>
<DD><p>Returns the character at index position <tt>i</tt> in the byte array.</p>
<p><tt>i</tt> must be a valid index position in the byte array (i.e&#x2e;, 0 &lt;= <tt>i</tt> &lt; <a href="QByteArray.html#size()"><tt>size</tt></a>).</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>operator[]</tt></DL>
</DD>
</DL>
<HR>

<A NAME="capacity()"><!-- --></A><H3>
capacity</H3>
<PRE>
public final int <B>capacity</B>()</PRE>
<DL>
<DD><p>Returns the maximum number of bytes that can be stored in the byte array without forcing a reallocation.</p>
<p>The sole purpose of this function is to provide a means of fine tuning <a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a>'s memory usage. In general, you will rarely ever need to call this function. If you want to know how many bytes are in the byte array, call <a href="QByteArray.html#size()"><tt>size</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#reserve(int)"><tt>reserve</tt></a>, 
<a href="QByteArray.html#squeeze()"><tt>squeeze</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="chop(int)"><!-- --></A><H3>
chop</H3>
<PRE>
public final void <B>chop</B>(int&nbsp;n)</PRE>
<DL>
<DD><p>Removes <tt>n</tt> bytes from the end of the byte array.</p>
<p>If <tt>n</tt> is greater than <a href="QByteArray.html#size()"><tt>size</tt></a>, the result is an empty byte array.</p>
<p>Example:</p>
<pre>    QByteArray ba(&quot;STARTTLS\r\n&quot;);
    ba.chop(2);                 <span class="comment">// ba == &quot;STARTTLS&quot;</span></pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#truncate(int)"><tt>truncate</tt></a>, 
<a href="QByteArray.html#resize(int)"><tt>resize</tt></a>, 
<a href="QByteArray.html#left(int)"><tt>left</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="clear()"><!-- --></A><H3>
clear</H3>
<PRE>
public final void <B>clear</B>()</PRE>
<DL>
<DD><p>Clears the contents of the byte array and makes it empty.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#resize(int)"><tt>resize</tt></a>, 
<a href="QByteArray.html#isEmpty()"><tt>isEmpty</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="contains(byte)"><!-- --></A><H3>
contains</H3>
<PRE>
public final boolean <B>contains</B>(byte&nbsp;c)</PRE>
<DL>
<DD><p>Returns true if the byte array contains the character <tt>c</tt>; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="contains(com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
contains</H3>
<PRE>
public final boolean <B>contains</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;a)</PRE>
<DL>
<DD><p>Returns true if the byte array contains an occurrence of the byte array <tt>a</tt>; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#indexOf(java.lang.String, int)"><tt>indexOf</tt></a>, 
<a href="QByteArray.html#count(com.trolltech.qt.core.QByteArray)"><tt>count</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="count(byte)"><!-- --></A><H3>
count</H3>
<PRE>
public final int <B>count</B>(byte&nbsp;c)</PRE>
<DL>
<DD><p>Returns the number of occurrences of character <tt>c</tt> in the byte array.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#contains(com.trolltech.qt.core.QByteArray)"><tt>contains</tt></a>, 
<a href="QByteArray.html#indexOf(java.lang.String, int)"><tt>indexOf</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="count(com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
count</H3>
<PRE>
public final int <B>count</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;a)</PRE>
<DL>
<DD><p>Returns the number of (potentially overlapping) occurrences of byte array <tt>a</tt> in this byte array.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#contains(com.trolltech.qt.core.QByteArray)"><tt>contains</tt></a>, 
<a href="QByteArray.html#indexOf(java.lang.String, int)"><tt>indexOf</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="data()"><!-- --></A><H3>
data</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> <B>data</B>()</PRE>
<DL>
<DD><p>Returns a pointer to the data stored in the byte array. The pointer can be used to access and modify the bytes that compose the array. The data is '\0'-terminated.</p>
<p>Example:</p>
<pre>    QByteArray ba(&quot;Hello world&quot;);
    char *data = ba.data();
    while (*data) {
        cout &lt;&lt; &quot;[&quot; &lt;&lt; *data &lt;&lt; &quot;]&quot; &lt;&lt; endl;
        ++data;
    }</pre>
<p>The pointer remains valid as long as the byte array isn't reallocated. For read-only access, constData() is faster because it never causes a deep copy</tt> to occur.</p>
<p>This function is mostly useful to pass a byte array to a function that accepts a <tt>const char *</tt>.</p>
<p>Note: A <a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a> can store any byte values including '\0's, but most functions that take <tt>char *</tt> arguments assume that the data ends at the first '\0' they encounter.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>constData</tt>, 
<tt>operator[]</tt></DL>
</DD>
</DL>
<HR>

<A NAME="endsWith(com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
endsWith</H3>
<PRE>
public final boolean <B>endsWith</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;a)</PRE>
<DL>
<DD><p>Returns true if this byte array ends with byte array <tt>a</tt>; otherwise returns false.</p>
<p>Example:</p>
<pre>    QByteArray url(&quot;http:<span class="comment">//www.trolltech.com/index.html&quot;);</span>
    if (url.endsWith(&quot;.html&quot;))
        ...</pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#startsWith(com.trolltech.qt.core.QByteArray)"><tt>startsWith</tt></a>, 
<a href="QByteArray.html#right(int)"><tt>right</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="endsWith(byte)"><!-- --></A><H3>
endsWith</H3>
<PRE>
public final boolean <B>endsWith</B>(byte&nbsp;c)</PRE>
<DL>
<DD><p>Returns true if this byte array ends with character <tt>c</tt>; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="indexOf(byte)"><!-- --></A><H3>
indexOf</H3>
<PRE>
public final int <B>indexOf</B>(byte&nbsp;c)</PRE>
<DL>
<DD><p>Equivalent to <a href="QByteArray.html#indexOf(java.lang.String, int)"><tt>indexOf</tt></a>(<tt>c</tt>, 0).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="indexOf(byte, int)"><!-- --></A><H3>
indexOf</H3>
<PRE>
public final int <B>indexOf</B>(byte&nbsp;c,
                         int&nbsp;from)</PRE>
<DL>
<DD><p>Returns the index position of the first occurrence of the character <tt>c</tt> in the byte array, searching forward from index position <tt>from</tt>. Returns -1 if <tt>c</tt> could not be found.</p>
<p>Example:</p>
<pre>    QByteArray ba(&quot;ABCBA&quot;);
    ba.indexOf(&quot;B&quot;);            <span class="comment">// returns 1</span>
    ba.indexOf(&quot;B&quot;, 1);         <span class="comment">// returns 1</span>
    ba.indexOf(&quot;B&quot;, 2);         <span class="comment">// returns 3</span>
    ba.indexOf(&quot;X&quot;);            <span class="comment">// returns -1</span></pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#lastIndexOf(com.trolltech.qt.core.QByteArray, int)"><tt>lastIndexOf</tt></a>, 
<a href="QByteArray.html#contains(com.trolltech.qt.core.QByteArray)"><tt>contains</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="indexOf(com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
indexOf</H3>
<PRE>
public final int <B>indexOf</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;a)</PRE>
<DL>
<DD><p>Equivalent to <a href="QByteArray.html#indexOf(java.lang.String, int)"><tt>indexOf</tt></a>(<tt>a</tt>, 0).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="indexOf(com.trolltech.qt.core.QByteArray, int)"><!-- --></A><H3>
indexOf</H3>
<PRE>
public final int <B>indexOf</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;a,
                         int&nbsp;from)</PRE>
<DL>
<DD><p>Returns the index position of the first occurrence of the byte array <tt>a</tt> in this byte array, searching forward from index position <tt>from</tt>. Returns -1 if <tt>a</tt> could not be found.</p>
<p>Example:</p>
<pre>    QByteArray x(&quot;sticky question&quot;);
    QByteArray y(&quot;sti&quot;);
    x.indexOf(y);               <span class="comment">// returns 0</span>
    x.indexOf(y, 1);            <span class="comment">// returns 10</span>
    x.indexOf(y, 10);           <span class="comment">// returns 10</span>
    x.indexOf(y, 11);           <span class="comment">// returns -1</span></pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#lastIndexOf(com.trolltech.qt.core.QByteArray, int)"><tt>lastIndexOf</tt></a>, 
<a href="QByteArray.html#contains(com.trolltech.qt.core.QByteArray)"><tt>contains</tt></a>, 
<a href="QByteArray.html#count(com.trolltech.qt.core.QByteArray)"><tt>count</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="indexOf(java.lang.String)"><!-- --></A><H3>
indexOf</H3>
<PRE>
public final int <B>indexOf</B>(java.lang.String&nbsp;s)</PRE>
<DL>
<DD><p>Equivalent to <a href="QByteArray.html#indexOf(java.lang.String, int)"><tt>indexOf</tt></a>(<tt>s</tt>, 0).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="indexOf(java.lang.String, int)"><!-- --></A><H3>
indexOf</H3>
<PRE>
public final int <B>indexOf</B>(java.lang.String&nbsp;s,
                         int&nbsp;from)</PRE>
<DL>
<DD><p>Returns the index position of the first occurrence of the string <tt>s</tt> in the byte array, searching forward from index position <tt>from</tt>. Returns -1 if <tt>s</tt> could not be found.</p>
<p>The Unicode data is converted into 8-bit characters using QString::toAscii().</p>
<p>If the <a href="%2E%2E/porting4.html#qstring"><tt>QString</tt></a> contains non-ASCII Unicode characters, using this function can lead to loss of information. You can disable this function by defining <tt>QT_NO_CAST_TO_ASCII</tt> when you compile your applications. You then need to call QString::toAscii() (or QString::toLatin1() or QString::toUtf8() or QString::toLocal8Bit()) explicitly if you want to convert the data to <tt>const char *</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="isEmpty()"><!-- --></A><H3>
isEmpty</H3>
<PRE>
public final boolean <B>isEmpty</B>()</PRE>
<DL>
<DD><p>Returns true if the byte array has size 0; otherwise returns false.</p>
<p>Example:</p>
<pre>    QByteArray().isEmpty();         <span class="comment">// returns true</span>
    QByteArray(&quot;&quot;).isEmpty();       <span class="comment">// returns true</span>
    QByteArray(&quot;abc&quot;).isEmpty();    <span class="comment">// returns false</span></pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#size()"><tt>size</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="isNull()"><!-- --></A><H3>
isNull</H3>
<PRE>
public final boolean <B>isNull</B>()</PRE>
<DL>
<DD><p>Returns true if this byte array is null; otherwise returns false.</p>
<p>Example:</p>
<pre>    QByteArray().isNull();          <span class="comment">// returns true</span>
    QByteArray(&quot;&quot;).isNull();        <span class="comment">// returns false</span>
    QByteArray(&quot;abc&quot;).isNull();     <span class="comment">// returns false</span></pre>
<p>Qt makes a distinction between null byte arrays and empty byte arrays for historical reasons. For most applications, what matters is whether or not a byte array contains any data, and this can be determined using <a href="QByteArray.html#isEmpty()"><tt>isEmpty</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#isEmpty()"><tt>isEmpty</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="lastIndexOf(byte)"><!-- --></A><H3>
lastIndexOf</H3>
<PRE>
public final int <B>lastIndexOf</B>(byte&nbsp;c)</PRE>
<DL>
<DD><p>Equivalent to <a href="QByteArray.html#lastIndexOf(com.trolltech.qt.core.QByteArray, int)"><tt>lastIndexOf</tt></a>(<tt>c</tt>, -1).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="lastIndexOf(byte, int)"><!-- --></A><H3>
lastIndexOf</H3>
<PRE>
public final int <B>lastIndexOf</B>(byte&nbsp;c,
                             int&nbsp;from)</PRE>
<DL>
<DD><p>Returns the index position of the last occurrence of character <tt>c</tt> in the byte array, searching backward from index position <tt>from</tt>. If <tt>from</tt> is -1 (the default), the search starts at the last (<a href="QByteArray.html#size()"><tt>size</tt></a> - 1) byte. Returns -1 if <tt>c</tt> could not be found.</p>
<p>Example:</p>
<pre>    QByteArray ba(&quot;ABCBA&quot;);
    ba.lastIndexOf(&quot;B&quot;);        <span class="comment">// returns 3</span>
    ba.lastIndexOf(&quot;B&quot;, 3);     <span class="comment">// returns 3</span>
    ba.lastIndexOf(&quot;B&quot;, 2);     <span class="comment">// returns 1</span>
    ba.lastIndexOf(&quot;X&quot;);        <span class="comment">// returns -1</span></pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#indexOf(java.lang.String, int)"><tt>indexOf</tt></a>, 
<a href="QByteArray.html#contains(com.trolltech.qt.core.QByteArray)"><tt>contains</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="lastIndexOf(java.lang.String)"><!-- --></A><H3>
lastIndexOf</H3>
<PRE>
public final int <B>lastIndexOf</B>(java.lang.String&nbsp;s)</PRE>
<DL>
<DD><p>Equivalent to <a href="QByteArray.html#lastIndexOf(com.trolltech.qt.core.QByteArray, int)"><tt>lastIndexOf</tt></a>(<tt>s</tt>, -1).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="lastIndexOf(java.lang.String, int)"><!-- --></A><H3>
lastIndexOf</H3>
<PRE>
public final int <B>lastIndexOf</B>(java.lang.String&nbsp;s,
                             int&nbsp;from)</PRE>
<DL>
<DD><p>Returns the index position of the last occurrence of the string <tt>s</tt> in the byte array, searching backward from index position <tt>from</tt>. If <tt>from</tt> is -1 (the default), the search starts at the last (<a href="QByteArray.html#size()"><tt>size</tt></a> - 1) byte. Returns -1 if <tt>s</tt> could not be found.</p>
<p>The Unicode data is converted into 8-bit characters using QString::toAscii().</p>
<p>If the <a href="%2E%2E/porting4.html#qstring"><tt>QString</tt></a> contains non-ASCII Unicode characters, using this function can lead to loss of information. You can disable this function by defining <tt>QT_NO_CAST_TO_ASCII</tt> when you compile your applications. You then need to call QString::toAscii() (or QString::toLatin1() or QString::toUtf8() or QString::toLocal8Bit()) explicitly if you want to convert the data to <tt>const char *</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="lastIndexOf(com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
lastIndexOf</H3>
<PRE>
public final int <B>lastIndexOf</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;a)</PRE>
<DL>
<DD><p>Equivalent to <a href="QByteArray.html#lastIndexOf(com.trolltech.qt.core.QByteArray, int)"><tt>lastIndexOf</tt></a>(<tt>a</tt>, -1).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="lastIndexOf(com.trolltech.qt.core.QByteArray, int)"><!-- --></A><H3>
lastIndexOf</H3>
<PRE>
public final int <B>lastIndexOf</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;a,
                             int&nbsp;from)</PRE>
<DL>
<DD><p>Returns the index position of the last occurrence of the byte array <tt>a</tt> in this byte array, searching backward from index position <tt>from</tt>. If <tt>from</tt> is -1 (the default), the search starts at the last byte. Returns -1 if <tt>a</tt> could not be found.</p>
<p>Example:</p>
<pre>    QByteArray x(&quot;crazy azimuths&quot;);
    QByteArray y(&quot;azy&quot;);
    x.lastIndexOf(y);           <span class="comment">// returns 6</span>
    x.lastIndexOf(y, 6);        <span class="comment">// returns 6</span>
    x.lastIndexOf(y, 5);        <span class="comment">// returns 2</span>
    x.lastIndexOf(y, 1);        <span class="comment">// returns -1</span></pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#indexOf(java.lang.String, int)"><tt>indexOf</tt></a>, 
<a href="QByteArray.html#contains(com.trolltech.qt.core.QByteArray)"><tt>contains</tt></a>, 
<a href="QByteArray.html#count(com.trolltech.qt.core.QByteArray)"><tt>count</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="left(int)"><!-- --></A><H3>
left</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>left</B>(int&nbsp;len)</PRE>
<DL>
<DD><p>Returns a byte array that contains the leftmost <tt>len</tt> bytes of this byte array.</p>
<p>The entire byte array is returned if <tt>len</tt> is greater than <a href="QByteArray.html#size()"><tt>size</tt></a>.</p>
<p>Example:</p>
<pre>    QByteArray x(&quot;Pineapple&quot;);
    QByteArray y = x.left(4);
<span class="comment">    // y == &quot;Pine&quot;</span></pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#right(int)"><tt>right</tt></a>, 
<a href="QByteArray.html#mid(int, int)"><tt>mid</tt></a>, 
<a href="QByteArray.html#startsWith(com.trolltech.qt.core.QByteArray)"><tt>startsWith</tt></a>, 
<a href="QByteArray.html#truncate(int)"><tt>truncate</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="leftJustified(int, byte)"><!-- --></A><H3>
leftJustified</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>leftJustified</B>(int&nbsp;width,
                                      byte&nbsp;fill)</PRE>
<DL>
<DD><p>Equivalent to <a href="QByteArray.html#leftJustified(int, byte, boolean)"><tt>leftJustified</tt></a>(<tt>width</tt>, <tt>fill</tt>, false).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="leftJustified(int)"><!-- --></A><H3>
leftJustified</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>leftJustified</B>(int&nbsp;width)</PRE>
<DL>
<DD><p>Equivalent to <a href="QByteArray.html#leftJustified(int, byte, boolean)"><tt>leftJustified</tt></a>(<tt>width</tt>, ' ', false).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="leftJustified(int, byte, boolean)"><!-- --></A><H3>
leftJustified</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>leftJustified</B>(int&nbsp;width,
                                      byte&nbsp;fill,
                                      boolean&nbsp;truncate)</PRE>
<DL>
<DD><p>Returns a byte array of size <tt>width</tt> that contains this byte array padded by the <tt>fill</tt> character.</p>
<p>If <tt>truncate</tt> is false and the <a href="QByteArray.html#size()"><tt>size</tt></a> of the byte array is more than <tt>width</tt>, then the returned byte array is a copy of this byte array.</p>
<p>If <tt>truncate</tt> is true and the <a href="QByteArray.html#size()"><tt>size</tt></a> of the byte array is more than <tt>width</tt>, then any bytes in a copy of the byte array after position <tt>width</tt> are removed, and the copy is returned.</p>
<p>Example:</p>
<pre>    QByteArray x(&quot;apple&quot;);
    QByteArray y = x.leftJustified(8, '.');   <span class="comment">// y == &quot;apple...&quot;</span></pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#rightJustified(int, byte, boolean)"><tt>rightJustified</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="length()"><!-- --></A><H3>
length</H3>
<PRE>
public final int <B>length</B>()</PRE>
<DL>
<DD><p>Same as <a href="QByteArray.html#size()"><tt>size</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="mid(int)"><!-- --></A><H3>
mid</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>mid</B>(int&nbsp;index)</PRE>
<DL>
<DD><p>Equivalent to <a href="QByteArray.html#mid(int, int)">mid</tt></a>(<tt>index</tt>, -1).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="mid(int, int)"><!-- --></A><H3>
mid</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>mid</B>(int&nbsp;index,
                            int&nbsp;len)</PRE>
<DL>
<DD><p>Returns a byte array containing <tt>len</tt> bytes from this byte array, starting at position <tt>index</tt>.</p>
<p>If <tt>len</tt> is -1 (the default), or <tt>index</tt> + <tt>len</tt> &gt;= <a href="QByteArray.html#size()"><tt>size</tt></a>, returns a byte array containing all bytes starting at position <tt>index</tt> until the end of the byte array.</p>
<p>Example:</p>
<pre>    QByteArray x(&quot;Five pineapples&quot;);
    QByteArray y = x.mid(5, 4);     <span class="comment">// y == &quot;pine&quot;</span>
    QByteArray z = x.mid(5);        <span class="comment">// z == &quot;pineapples&quot;</span></pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#left(int)"><tt>left</tt></a>, 
<a href="QByteArray.html#right(int)"><tt>right</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="writeTo(com.trolltech.qt.core.QDataStream)"><!-- --></A><H3>
writeTo</H3>
<PRE>
public final void <B>writeTo</B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</PRE>
<DL>
<DD>Writes thisQByteArray to arg__1.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="readFrom(com.trolltech.qt.core.QDataStream)"><!-- --></A><H3>
readFrom</H3>
<PRE>
public final void <B>readFrom</B>(<A HREF="../../../../com/trolltech/qt/core/QDataStream.html" title="class in com.trolltech.qt.core">QDataStream</A>&nbsp;arg__1)</PRE>
<DL>
<DD>Reads a QByteArray from arg__1.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="reserve(int)"><!-- --></A><H3>
reserve</H3>
<PRE>
public final void <B>reserve</B>(int&nbsp;size)</PRE>
<DL>
<DD><p>Attempts to allocate memory for at least <tt>size</tt> bytes. If you know in advance how large the byte array will be, you can call this function, and if you call <a href="QByteArray.html#resize(int)"><tt>resize</tt></a> often you are likely to get better performance. If <tt>size</tt> is an underestimate, the worst that will happen is that the <a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a> will be a bit slower.</p>
<p>The sole purpose of this function is to provide a means of fine tuning <a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a>'s memory usage. In general, you will rarely ever need to call this function. If you want to change the size of the byte array, call <a href="QByteArray.html#resize(int)"><tt>resize</tt></a>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#squeeze()"><tt>squeeze</tt></a>, 
<a href="QByteArray.html#capacity()"><tt>capacity</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="resize(int)"><!-- --></A><H3>
resize</H3>
<PRE>
public final void <B>resize</B>(int&nbsp;size)</PRE>
<DL>
<DD><p>Sets the size of the byte array to <tt>size</tt> bytes.</p>
<p>If <tt>size</tt> is greater than the current size, the byte array is extended to make it <tt>size</tt> bytes with the extra bytes added to the end. The new bytes are uninitialized.</p>
<p>If <tt>size</tt> is less than the current size, bytes are removed from the end.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#size()"><tt>size</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="right(int)"><!-- --></A><H3>
right</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>right</B>(int&nbsp;len)</PRE>
<DL>
<DD><p>Returns a byte array that contains the rightmost <tt>len</tt> bytes of this byte array.</p>
<p>The entire byte array is returned if <tt>len</tt> is greater than <a href="QByteArray.html#size()"><tt>size</tt></a>.</p>
<p>Example:</p>
<pre>    QByteArray x(&quot;Pineapple&quot;);
    QByteArray y = x.right(5);
<span class="comment">    // y == &quot;apple&quot;</span></pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#endsWith(byte)"><tt>endsWith</tt></a>, 
<a href="QByteArray.html#left(int)"><tt>left</tt></a>, 
<a href="QByteArray.html#mid(int, int)"><tt>mid</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="rightJustified(int, byte)"><!-- --></A><H3>
rightJustified</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>rightJustified</B>(int&nbsp;width,
                                       byte&nbsp;fill)</PRE>
<DL>
<DD><p>Equivalent to <a href="QByteArray.html#rightJustified(int, byte, boolean)"><tt>rightJustified</tt></a>(<tt>width</tt>, <tt>fill</tt>, false).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="rightJustified(int)"><!-- --></A><H3>
rightJustified</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>rightJustified</B>(int&nbsp;width)</PRE>
<DL>
<DD><p>Equivalent to <a href="QByteArray.html#rightJustified(int, byte, boolean)"><tt>rightJustified</tt></a>(<tt>width</tt>, ' ', false).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="rightJustified(int, byte, boolean)"><!-- --></A><H3>
rightJustified</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>rightJustified</B>(int&nbsp;width,
                                       byte&nbsp;fill,
                                       boolean&nbsp;truncate)</PRE>
<DL>
<DD><p>Returns a byte array of size <tt>width</tt> that contains the <tt>fill</tt> character followed by this byte array.</p>
<p>If <tt>truncate</tt> is false and the size of the byte array is more than <tt>width</tt>, then the returned byte array is a copy of this byte array.</p>
<p>If <tt>truncate</tt> is true and the size of the byte array is more than <tt>width</tt>, then the resulting byte array is truncated at position <tt>width</tt>.</p>
<p>Example:</p>
<pre>    QByteArray x(&quot;apple&quot;);
    QByteArray y = x.rightJustified(8, '.');    <span class="comment">// y == &quot;...apple&quot;</span></pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#leftJustified(int, byte, boolean)"><tt>leftJustified</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="simplified()"><!-- --></A><H3>
simplified</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>simplified</B>()</PRE>
<DL>
<DD><p>Returns a byte array that has whitespace removed from the start and the end, and which has each sequence of internal whitespace replaced with a single space.</p>
<p>Whitespace means any character for which the standard C++ isspace() function returns true. This includes the ASCII characters '\t', '\n', '\v', '\f', '\r', and ' '.</p>
<p>Example:</p>
<pre>    QByteArray ba(&quot;  lots\t of\nwhitespace\r\n &quot;);
    ba = ba.simplified();
<span class="comment">    // ba == &quot;lots of whitespace&quot;;</span></pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#trimmed()"><tt>trimmed</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="size()"><!-- --></A><H3>
size</H3>
<PRE>
public final int <B>size</B>()</PRE>
<DL>
<DD><p>Returns the number of bytes in this byte array.</p>
<p>The last byte in the byte array is at position <a href="QByteArray.html#size()"><tt>size</tt></a> - 1. In addition, <a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a> ensures that the byte at position <a href="QByteArray.html#size()"><tt>size</tt></a> is always '\0', so that you can use the return value of <a href="QByteArray.html#data()"><tt>data</tt></a> and constData() as arguments to functions that expect '\0'-terminated strings.</p>
<p>Example:</p>
<pre>    QByteArray ba(&quot;Hello&quot;);
    int n = ba.size();          <span class="comment">// n == 5</span>
    ba.data()[0];               <span class="comment">// returns 'H'</span>
    ba.data()[4];               <span class="comment">// returns 'o'</span>
    ba.data()[5];               <span class="comment">// returns '\0'</span></pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#isEmpty()"><tt>isEmpty</tt></a>, 
<a href="QByteArray.html#resize(int)"><tt>resize</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="split(byte)"><!-- --></A><H3>
split</H3>
<PRE>
public final java.util.List&lt;<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&gt; <B>split</B>(byte&nbsp;sep)</PRE>
<DL>
<DD><p>Splits the byte array into subarrays wherever <tt>sep</tt> occurs, and returns the list of those arrays. If <tt>sep</tt> does not match anywhere in the byte array, <a href="QByteArray.html#split(byte)"><tt>split</tt></a> returns a single-element list containing this byte array.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="squeeze()"><!-- --></A><H3>
squeeze</H3>
<PRE>
public final void <B>squeeze</B>()</PRE>
<DL>
<DD><p>Releases any memory not required to store the array's data.</p>
<p>The sole purpose of this function is to provide a means of fine tuning <a href="QByteArray.html#QByteArray()"><tt>QByteArray</tt></a>'s memory usage. In general, you will rarely ever need to call this function.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#reserve(int)"><tt>reserve</tt></a>, 
<a href="QByteArray.html#capacity()"><tt>capacity</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="startsWith(byte)"><!-- --></A><H3>
startsWith</H3>
<PRE>
public final boolean <B>startsWith</B>(byte&nbsp;c)</PRE>
<DL>
<DD><p>Returns true if this byte array starts with character <tt>c</tt>; otherwise returns false.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="startsWith(com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
startsWith</H3>
<PRE>
public final boolean <B>startsWith</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;a)</PRE>
<DL>
<DD><p>Returns true if this byte array starts with byte array <tt>a</tt>; otherwise returns false.</p>
<p>Example:</p>
<pre>    QByteArray url(&quot;ftp:<span class="comment">//ftp.trolltech.com/&quot;);</span>
    if (url.startsWith(&quot;ftp:&quot;))
        ...</pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#endsWith(byte)"><tt>endsWith</tt></a>, 
<a href="QByteArray.html#left(int)"><tt>left</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="toBase64()"><!-- --></A><H3>
toBase64</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>toBase64</B>()</PRE>
<DL>
<DD><p>Returns a copy of the byte array, encoded as Base64.</p>
<pre>    QByteArray text(&quot;Qt is great!&quot;);
    text.toBase64();        <span class="comment">// returns &quot;UXQgaXMgZ3JlYXQh&quot;</span></pre>
<p>The algorithm used to encode Base64-encoded data is defined in RFC 2045</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#fromBase64(com.trolltech.qt.core.QByteArray)"><tt>fromBase64</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="toHex()"><!-- --></A><H3>
toHex</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>toHex</B>()</PRE>
<DL>
<DD><p>Returns a hex encoded copy of the byte array. The hex encoding uses the numbers 0-9 and the letters a-f.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#fromHex(com.trolltech.qt.core.QByteArray)"><tt>fromHex</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="toLower()"><!-- --></A><H3>
toLower</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>toLower</B>()</PRE>
<DL>
<DD><p>Returns a lowercase copy of the byte array. The bytearray is interpreted as a Latin-1 encoded string.</p>
<p>Example:</p>
<pre>    QByteArray x(&quot;TROlltECH&quot;);
    QByteArray y = x.toLower();
<span class="comment">    // y == &quot;trolltech&quot;</span></pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#toUpper()"><tt>toUpper</tt></a>, 
<a href="QByteArray.html#note-on-8-bit-character-comparisons">Note on 8-bit character comparisons</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="toUpper()"><!-- --></A><H3>
toUpper</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>toUpper</B>()</PRE>
<DL>
<DD><p>Returns an uppercase copy of the byte array. The bytearray is interpreted as a Latin-1 encoded string.</p>
<p>Example:</p>
<pre>    QByteArray x(&quot;TROlltECH&quot;);
    QByteArray y = x.toUpper();
<span class="comment">    // y == &quot;TROLLTECH&quot;</span></pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#toLower()"><tt>toLower</tt></a>, 
<a href="QByteArray.html#note-on-8-bit-character-comparisons">Note on 8-bit character comparisons</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="trimmed()"><!-- --></A><H3>
trimmed</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>trimmed</B>()</PRE>
<DL>
<DD><p>Returns a byte array that has whitespace removed from the start and the end.</p>
<p>Whitespace means any character for which the standard C++ isspace() function returns true. This includes the ASCII characters '\t', '\n', '\v', '\f', '\r', and ' '.</p>
<p>Example:</p>
<pre>    QByteArray ba(&quot;  lots\t of\nwhitespace\r\n &quot;);
    ba = ba.trimmed();
<span class="comment">    // ba == &quot;lots\t of\nwhitespace&quot;;</span></pre>
<p>Unlike <a href="QByteArray.html#simplified()"><tt>simplified</tt></a>, <a href="QByteArray.html#trimmed()"><tt>trimmed</tt></a> leaves internal whitespace alone.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#simplified()"><tt>simplified</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="truncate(int)"><!-- --></A><H3>
truncate</H3>
<PRE>
public final void <B>truncate</B>(int&nbsp;pos)</PRE>
<DL>
<DD><p>Truncates the byte array at index position <tt>pos</tt>.</p>
<p>If <tt>pos</tt> is beyond the end of the array, nothing happens.</p>
<p>Example:</p>
<pre>    QByteArray ba(&quot;Stockholm&quot;);
    ba.truncate(5);             <span class="comment">// ba == &quot;Stock&quot;</span></pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#chop(int)"><tt>chop</tt></a>, 
<a href="QByteArray.html#resize(int)"><tt>resize</tt></a>, 
<a href="QByteArray.html#left(int)"><tt>left</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fromBase64(com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
fromBase64</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>fromBase64</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;base64)</PRE>
<DL>
<DD><p>Returns a decoded copy of the Base64 array <tt>base64</tt>. Input is not checked for validity; invalid characters in the input are skipped, enabling the decoding process to continue with subsequent characters.</p>
<p>For example:</p>
<pre>    QByteArray text = QByteArray::fromBase64(&quot;UXQgaXMgZ3JlYXQh&quot;);
    text.data();            <span class="comment">// returns &quot;Qt is great!&quot;</span></pre>
<p>The algorithm used to decode Base64-encoded data is defined in RFC 2045</tt>.</p>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#toBase64()"><tt>toBase64</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="fromHex(com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
fromHex</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>fromHex</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;hexEncoded)</PRE>
<DL>
<DD><p>Returns a decoded copy of the hex encoded array <tt>hexEncoded</tt>. Input is not checked for validity; invalid characters in the input are skipped, enabling the decoding process to continue with subsequent characters.</p>
<p>For example:</p>
<pre>    QByteArray text = QByteArray::fromHex(&quot;517420697320677265617421&quot;);
    text.data();            <span class="comment">// returns &quot;Qt is great!&quot;</span></pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><a href="QByteArray.html#toHex()"><tt>toHex</tt></a></DL>
</DD>
</DL>
<HR>

<A NAME="number(double, byte)"><!-- --></A><H3>
number</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>number</B>(double&nbsp;arg__1,
                                byte&nbsp;f)</PRE>
<DL>
<DD><p>Equivalent to <a href="QByteArray.html#number(int, int)">number</tt></a>(<tt>arg__1</tt>, <tt>f</tt>, 6).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="number(double)"><!-- --></A><H3>
number</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>number</B>(double&nbsp;arg__1)</PRE>
<DL>
<DD><p>Equivalent to <a href="QByteArray.html#number(int, int)">number</tt></a>(<tt>arg__1</tt>, 'g', 6).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="number(double, byte, int)"><!-- --></A><H3>
number</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>number</B>(double&nbsp;arg__1,
                                byte&nbsp;f,
                                int&nbsp;prec)</PRE>
<DL>
<DD><p>Returns a byte array that contains the printed value of <tt>arg__1</tt>, formatted in format <tt>f</tt> with precision <tt>prec</tt>.</p>
<p>Argument <tt>arg__1</tt> is formatted according to the <tt>f</tt> format specified, which is <tt>g</tt> by default, and can be any of the following:</p>
<p><table align="center" cellpadding="2" cellspacing="1" border="0">
<thead><tr valign="top" class="qt-style"><th>Format</th><th>Meaning</th></tr></thead>
<tr valign="top" class="odd"><td><tt>e</tt></td><td>format as [-]9.9e[+|-]999</td></tr>
<tr valign="top" class="even"><td><tt>E</tt></td><td>format as [-]9.9E[+|-]999</td></tr>
<tr valign="top" class="odd"><td><tt>f</tt></td><td>format as [-]9.9</td></tr>
<tr valign="top" class="even"><td><tt>g</tt></td><td>use <tt>e</tt> or <tt>f</tt> format, whichever is the most concise</td></tr>
<tr valign="top" class="odd"><td><tt>G</tt></td><td>use <tt>E</tt> or <tt>f</tt> format, whichever is the most concise</td></tr>
</table></p>
<p>With 'e', 'E', and 'f', <tt>prec</tt> is the number of digits after the decimal point. With 'g' and 'G', <tt>prec</tt> is the maximum number of significant digits (trailing zeroes are omitted).</p>
<pre>    QByteArray ba = QByteArray::number(12.3456, 'E', 3);
<span class="comment">    // ba == 1.235E+01</span></pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>toDouble</tt></DL>
</DD>
</DL>
<HR>

<A NAME="number(long)"><!-- --></A><H3>
number</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>number</B>(long&nbsp;arg__1)</PRE>
<DL>
<DD><p>Equivalent to <a href="QByteArray.html#number(int, int)">number</tt></a>(<tt>arg__1</tt>, 10).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="number(long, int)"><!-- --></A><H3>
number</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>number</B>(long&nbsp;arg__1,
                                int&nbsp;base)</PRE>
<DL>
<DD>Returns a byte array containing the string equivalent of the
number <tt>arg__1</tt> to base <tt>base</tt>. The <tt>base</tt> can be
any value between 2 and 36.
<p>
Example:
<p>
<code>
<pre>
    int n = 63;
    QByteArray.number(n, 16);          // returns "3f"
    QByteArray.number(n, 16).upper();  // returns "3F"
</pre>
</code>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="number(int)"><!-- --></A><H3>
number</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>number</B>(int&nbsp;arg__1)</PRE>
<DL>
<DD><p>Equivalent to <a href="QByteArray.html#number(int, int)">number</tt></a>(<tt>arg__1</tt>, 10).
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="number(int, int)"><!-- --></A><H3>
number</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>number</B>(int&nbsp;arg__1,
                                int&nbsp;base)</PRE>
<DL>
<DD><p>Returns a byte array containing the string equivalent of the number <tt>arg__1</tt> to base <tt>base</tt> (10 by default). The <tt>base</tt> can be any value between 2 and 36.</p>
<p>Example:</p>
<pre>    int n = 63;
    QByteArray::number(n);              <span class="comment">// returns &quot;63&quot;</span>
    QByteArray::number(n, 16);          <span class="comment">// returns &quot;3f&quot;</span>
    QByteArray::number(n, 16).toUpper();  <span class="comment">// returns &quot;3F&quot;</span></pre>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>See Also:</B><DD><tt>setNum</tt>, 
<tt>toInt</tt></DL>
</DD>
</DL>
<HR>

<A NAME="fromNativePointer(com.trolltech.qt.QNativePointer)"><!-- --></A><H3>
fromNativePointer</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>fromNativePointer</B>(<A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A>&nbsp;nativePointer)</PRE>
<DL>
<DD>This function returns the QByteArray instance pointed to by nativePointer
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nativePointer</CODE> - the QNativePointer of which object should be returned.</DL>
</DD>
</DL>
<HR>

<A NAME="nativePointerArray(com.trolltech.qt.core.QByteArray[])"><!-- --></A><H3>
nativePointerArray</H3>
<PRE>
public static <A HREF="../../../../com/trolltech/qt/QNativePointer.html" title="class in com.trolltech.qt">QNativePointer</A> <B>nativePointerArray</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>[]&nbsp;array)</PRE>
<DL>
<DD>This function returns a QNativePointer that is pointing to the specified QByteArray array.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>array</CODE> - the array that the returned pointer will point to.
<DT><B>Returns:</B><DD>a QNativePointer that is pointing to the specified array.</DL>
</DD>
</DL>
<HR>

<A NAME="equals(java.lang.Object)"><!-- --></A><H3>
equals</H3>
<PRE>
public boolean <B>equals</B>(java.lang.Object&nbsp;other)</PRE>
<DL>
<DD>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="compareTo(java.lang.Object)"><!-- --></A><H3>
compareTo</H3>
<PRE>
public int <B>compareTo</B>(java.lang.Object&nbsp;other)</PRE>
<DL>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE>compareTo</CODE> in interface <CODE>java.lang.Comparable</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="hashCode()"><!-- --></A><H3>
hashCode</H3>
<PRE>
public int <B>hashCode</B>()</PRE>
<DL>
<DD>
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE>hashCode</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public java.lang.String <B>toString</B>()</PRE>
<DL>
<DD>Returns a string representation of this QByteArray.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="toByteArray()"><!-- --></A><H3>
toByteArray</H3>
<PRE>
public final byte[] <B>toByteArray</B>()</PRE>
<DL>
<DD>Returns the contents of this QByteArray.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="toChar(int)"><!-- --></A><H3>
toChar</H3>
<PRE>
public final char <B>toChar</B>(int&nbsp;base)
                  throws java.lang.NumberFormatException</PRE>
<DL>
<DD>Returns the byte array converted to an <b>char</b> using base
<tt>base</tt>, which is 10 by default and must be between 2 and 36, or
0.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.lang.NumberFormatException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="toChar()"><!-- --></A><H3>
toChar</H3>
<PRE>
public char <B>toChar</B>()</PRE>
<DL>
<DD>Returns the byte array converted to a <b>char</b>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="toInt(int)"><!-- --></A><H3>
toInt</H3>
<PRE>
public final int <B>toInt</B>(int&nbsp;base)
                throws java.lang.NumberFormatException</PRE>
<DL>
<DD>Returns the byte array converted to an <b>int</b> using base
<tt>base</tt>, which is 10 by default and must be between 2 and 36, or
0.
<p>
If <tt>base</tt> is 0, the base is determined automatically using the
following rules: If the byte array begins with "0x", it is assumed to
be hexadecimal; if it begins with "0", it is assumed to be octal;
otherwise it is assumed to be decimal.
<p>
The function throws NumberFormatException if conversion fails.
<p>
<code>
<pre>
    QByteArray str = new QByteArray("FF");
    int hex = str.toInt(16);     // hex == 255,
    int dec = str.toInt(10);     // throws NumberFormatException
</pre>
</code>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.lang.NumberFormatException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="toInt()"><!-- --></A><H3>
toInt</H3>
<PRE>
public int <B>toInt</B>()</PRE>
<DL>
<DD>Returns the byte array converted to an <b>int</b> using base
10.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="toDouble()"><!-- --></A><H3>
toDouble</H3>
<PRE>
public final double <B>toDouble</B>()
                      throws java.lang.NumberFormatException</PRE>
<DL>
<DD>Returns the byte array converted to an <b>double</b>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.lang.NumberFormatException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="toFloat()"><!-- --></A><H3>
toFloat</H3>
<PRE>
public final float <B>toFloat</B>()
                    throws java.lang.NumberFormatException</PRE>
<DL>
<DD>Returns the byte array converted to an <b>float</b>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>

<DT><B>Throws:</B>
<DD><CODE>java.lang.NumberFormatException</CODE></DL>
</DD>
</DL>
<HR>

<A NAME="set(com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
set</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>set</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;other)</PRE>
<DL>
<DD>This function sets the contents of this QByteArray equal to <tt>other</tt>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="append(java.lang.String)"><!-- --></A><H3>
append</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>append</B>(java.lang.String&nbsp;other)</PRE>
<DL>
<DD>This function appends the contents of <tt>other</tt> to the end of this
QByteArray.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="append(com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
append</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>append</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;other)</PRE>
<DL>
<DD>This function appends the contents of <tt>other</tt> to the end of
this QByteArray.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="append(byte)"><!-- --></A><H3>
append</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>append</B>(byte&nbsp;other)</PRE>
<DL>
<DD>This function appends <tt>other</tt> to the end of this QByteArray.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="contains(java.lang.String)"><!-- --></A><H3>
contains</H3>
<PRE>
public boolean <B>contains</B>(java.lang.String&nbsp;str)</PRE>
<DL>
<DD>Returns true there is at least one occurrence of <tt>str</tt>
in this QByteArray.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="count(java.lang.String)"><!-- --></A><H3>
count</H3>
<PRE>
public int <B>count</B>(java.lang.String&nbsp;str)</PRE>
<DL>
<DD>Returns the number of occurrences of <tt>str</tt> in this QByteArray.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="endsWith(java.lang.String)"><!-- --></A><H3>
endsWith</H3>
<PRE>
public boolean <B>endsWith</B>(java.lang.String&nbsp;str)</PRE>
<DL>
<DD>Returns true if this QByteArray ends with <tt>str</tt>; otherwise,
returns false.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fill(byte, int)"><!-- --></A><H3>
fill</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>fill</B>(byte&nbsp;b,
                             int&nbsp;size)</PRE>
<DL>
<DD>Sets every byte in the byte array to character <tt>b</tt>. If
<tt>size</tt> is different from -1 (the default), the byte array is
resized to size <tt>size</tt> beforehand.
<p>
Example:
<p>
<code>
<pre>
    QByteArray ba = new QByteArray("Istanbul");
    ba.fill("o");
    // ba == "oooooooo"

    ba.fill("X", 2);
    // ba == "XX"
</pre>
</code>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="fill(byte)"><!-- --></A><H3>
fill</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>fill</B>(byte&nbsp;b)</PRE>
<DL>
<DD>Sets every byte in the byte array to character <tt>b</tt>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="insert(int, com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
insert</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>insert</B>(int&nbsp;i,
                               <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;ba)</PRE>
<DL>
<DD>Inserts the byte array <tt>ba</tt> at index position <tt>i</tt> and returns a
reference to this byte array.
<p>
Example:
<p>
<code>
<pre>
    QByteArray ba = new QByteArray("Meal");
    ba.insert(1, QByteArray("ontr"));
    // ba == "Montreal"
</pre>
</code>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="insert(int, byte)"><!-- --></A><H3>
insert</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>insert</B>(int&nbsp;i,
                               byte&nbsp;b)</PRE>
<DL>
<DD>Inserts byte <tt>b</tt> at index position <tt>i</tt> in the byte array.
If <tt>i</tt> is greater than size(), the array is first extended using
resize().
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="insert(int, java.lang.String)"><!-- --></A><H3>
insert</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>insert</B>(int&nbsp;i,
                               java.lang.String&nbsp;str)</PRE>
<DL>
<DD>Inserts String <tt>str</tt> at index position <tt>i</tt> in the byte array.
If <tt>i</tt> is greater than size(), the array is first extended using
resize().
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="prepend(com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
prepend</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>prepend</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;other)</PRE>
<DL>
<DD>Prepends <tt>other</tt> to this QByteArray, and returns the resulting
array.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="prepend(byte)"><!-- --></A><H3>
prepend</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>prepend</B>(byte&nbsp;other)</PRE>
<DL>
<DD>Prepends <tt>other</tt> to this QByteArray, and returns the resulting
array.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="prepend(java.lang.String)"><!-- --></A><H3>
prepend</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>prepend</B>(java.lang.String&nbsp;str)</PRE>
<DL>
<DD>Prepends <tt>str</tt> to this QByteArray, and returns the resulting
array.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="remove(int, int)"><!-- --></A><H3>
remove</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>remove</B>(int&nbsp;pos,
                               int&nbsp;len)</PRE>
<DL>
<DD>Removes <tt>len</tt> bytes from the array, starting at index position
<tt>pos</tt>, and returns a reference to the array.
<p>
If <tt>pos</tt> is out of range, nothing happens. If <tt>pos</tt> is valid,
but <tt>pos</tt> + <tt>len</tt> is larger than the size of the array, the
array is truncated at position <tt>pos</tt>.
<p>
Example:
<p>
<code>
<pre>
    QByteArray ba = new QByteArray("Montreal");
    ba.remove(1, 4);
    // ba == "Meal"
</pre>
</code>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="replace(com.trolltech.qt.core.QByteArray, java.lang.String)"><!-- --></A><H3>
replace</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>replace</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;before,
                          java.lang.String&nbsp;after)</PRE>
<DL>
<DD>Replaces every occurrence of the byte array <tt>before</tt> with the
string <tt>after</tt>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="replace(byte, com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
replace</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>replace</B>(byte&nbsp;before,
                                <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;after)</PRE>
<DL>
<DD>Replaces every occurrence of <tt>before</tt> with <tt>after</tt>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="replace(java.lang.String, java.lang.String)"><!-- --></A><H3>
replace</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>replace</B>(java.lang.String&nbsp;before,
                          java.lang.String&nbsp;after)</PRE>
<DL>
<DD>Replaces every occurrence of <tt>before</tt> with <tt>after</tt>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="replace(int, int, com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
replace</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>replace</B>(int&nbsp;pos,
                                int&nbsp;len,
                                <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;after)</PRE>
<DL>
<DD>Replaces every occurrence of <tt>before</tt> with <tt>after</tt>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="replace(byte, java.lang.String)"><!-- --></A><H3>
replace</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>replace</B>(byte&nbsp;before,
                                java.lang.String&nbsp;after)</PRE>
<DL>
<DD>Replaces every occurrence of <tt>before</tt> with <tt>after</tt>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="replace(byte, byte)"><!-- --></A><H3>
replace</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>replace</B>(byte&nbsp;before,
                                byte&nbsp;after)</PRE>
<DL>
<DD>Replaces every occurrence of <tt>before</tt> with <tt>after</tt>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="replace(com.trolltech.qt.core.QByteArray, com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
replace</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>replace</B>(<A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;before,
                                <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;after)</PRE>
<DL>
<DD>Replaces every occurrence of <tt>before</tt> with <tt>after</tt>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="replace(java.lang.String, com.trolltech.qt.core.QByteArray)"><!-- --></A><H3>
replace</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>replace</B>(java.lang.String&nbsp;before,
                                <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A>&nbsp;after)</PRE>
<DL>
<DD>Replaces every occurrence of <tt>before</tt> with <tt>after</tt>.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setNum(int, int)"><!-- --></A><H3>
setNum</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>setNum</B>(int&nbsp;n,
                               int&nbsp;base)</PRE>
<DL>
<DD>Sets the array to the printed value of <tt>n</tt> using <tt>base</tt> as base.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setNum(int)"><!-- --></A><H3>
setNum</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>setNum</B>(int&nbsp;n)</PRE>
<DL>
<DD>Sets the array to the printed value of <tt>n</tt>
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setNum(float, char, int)"><!-- --></A><H3>
setNum</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>setNum</B>(float&nbsp;n,
                               char&nbsp;f,
                               int&nbsp;prec)</PRE>
<DL>
<DD>Sets the byte array to the printed value of <tt>n</tt>, formatted in format
<tt>f</tt> with precision <tt>prec</tt>, and returns a reference to the byte
array.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setNum(float, char)"><!-- --></A><H3>
setNum</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>setNum</B>(float&nbsp;n,
                               char&nbsp;f)</PRE>
<DL>
<DD>Sets the byte array to the printed value of <tt>n</tt>, formatted in format
<tt>f</tt> with precision 6, and returns a reference to the byte
array.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setNum(float)"><!-- --></A><H3>
setNum</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>setNum</B>(float&nbsp;n)</PRE>
<DL>
<DD>Sets the byte array to the printed value of <tt>n</tt>, formatted in format
<tt>f</tt> with precision 6, and returns a reference to the byte
array.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setNum(long, int)"><!-- --></A><H3>
setNum</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>setNum</B>(long&nbsp;n,
                               int&nbsp;base)</PRE>
<DL>
<DD>This is an overloaded function provided for convenience.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setNum(long)"><!-- --></A><H3>
setNum</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>setNum</B>(long&nbsp;n)</PRE>
<DL>
<DD>This is an overloaded function provided for convenience.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setNum(double, char, int)"><!-- --></A><H3>
setNum</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>setNum</B>(double&nbsp;n,
                               char&nbsp;f,
                               int&nbsp;prec)</PRE>
<DL>
<DD>Sets the byte array to the printed value of <tt>n</tt>, formatted in format
    <tt>f</tt> with precision <tt>prec</tt>, and returns a reference to the
    byte array.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setNum(double, char)"><!-- --></A><H3>
setNum</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>setNum</B>(double&nbsp;n,
                               char&nbsp;f)</PRE>
<DL>
<DD>This is an overloaded function provided for convenience.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setNum(double)"><!-- --></A><H3>
setNum</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>setNum</B>(double&nbsp;n)</PRE>
<DL>
<DD>This is an overloaded function provided for convenience.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setNum(short, int)"><!-- --></A><H3>
setNum</H3>
<PRE>
public final <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>setNum</B>(short&nbsp;n,
                               int&nbsp;base)</PRE>
<DL>
<DD>This is an overloaded function provided for convenience.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setNum(short)"><!-- --></A><H3>
setNum</H3>
<PRE>
public <A HREF="../../../../com/trolltech/qt/core/QByteArray.html" title="class in com.trolltech.qt.core">QByteArray</A> <B>setNum</B>(short&nbsp;n)</PRE>
<DL>
<DD>This is an overloaded function provided for convenience.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="startsWith(java.lang.String)"><!-- --></A><H3>
startsWith</H3>
<PRE>
public boolean <B>startsWith</B>(java.lang.String&nbsp;str)</PRE>
<DL>
<DD>Returns true if this byte array starts with string <tt>str</tt>;
otherwise returns false.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>


<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../com/trolltech/qt/core/QBuffer.html" title="class in com.trolltech.qt.core"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/trolltech/qt/core/QByteArrayMatcher.html" title="class in com.trolltech.qt.core"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/trolltech/qt/core/QByteArray.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="QByteArray.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT type="text/javascript">
  <!--
  if(window==top) {
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  }
  //-->
</SCRIPT>
<NOSCRIPT>
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>


</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_com.trolltech.qt.QSignalEmitter">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>

</BODY>
</HTML>