src/corelib/tools/qbytearray.cpp
changeset 37 758a864f9613
parent 33 3e2da88830cd
equal deleted inserted replaced
36:ef0373b55136 37:758a864f9613
  1807     \overload
  1807     \overload
  1808 
  1808 
  1809     Replaces \a len bytes from index position \a pos with the zero terminated
  1809     Replaces \a len bytes from index position \a pos with the zero terminated
  1810     string \a after.
  1810     string \a after.
  1811 
  1811 
  1812     Notice: this can change the lenght of the byte array.
  1812     Notice: this can change the length of the byte array.
  1813 */
  1813 */
  1814 QByteArray &QByteArray::replace(int pos, int len, const char *after)
  1814 QByteArray &QByteArray::replace(int pos, int len, const char *after)
  1815 {
  1815 {
  1816     return replace(pos,len,after,qstrlen(after));
  1816     return replace(pos,len,after,qstrlen(after));
  1817 }
  1817 }