KDECore
Go to the documentation of this file.
21 #ifndef BUFFERFRAGMENT_H
22 #define BUFFERFRAGMENT_H
24 #define bf_isspace(str) ((str == ' ') || (str == '\t') || (str == '\r'))
54 char at(
unsigned int i)
const
89 while (*start < len) {
91 if (end == -1) end = len;
111 Q_ASSERT(size <= len);
118 if (pos < len) len = pos;
137 return (other.size() == (int)len && memcmp(d,other.constData(),len) == 0);
142 return (other.size() != (int)len || memcmp(d,other.constData(),len) != 0);
145 int indexOf(
char c,
unsigned int from = 0)
const
147 const char* cursor = d + from - 1;
148 const char* end = d + len;
149 while ( ++cursor < end)
167 return QByteArray(d,len);
173 return QByteArray::fromRawData(d, len);
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jun 1 2013 20:17:58 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.