5 static unsigned char*
writeValue(
unsigned char* p,
unsigned char whiteSpace,
int value)
7 unsigned int v = value;
10 unsigned int k = 10000;
24 static const unsigned char*
readValue(
const unsigned char* p,
int& value)
30 if (c ==
' ' || (c >=
'\011' && c <=
'\015'))
48 while (d = *p -
'0', d < 10U)
115 m_data = (
unsigned char*) p;
static const unsigned char * readValue(const unsigned char *p, int &value)
static unsigned char * writeValue(unsigned char *p, unsigned char whiteSpace, int value)
void setSamplesPerLine(ptrdiff_t samplesPerLine)
unsigned char * writeHeader(unsigned char *data)
bool readHeader(const unsigned char *data)