public void trim() {
		while (count > 0) {
			char c = data[offset];
			if ((c==' ')||(c=='\r')||(c=='\n')||(c=='\t')) {
				offset++;
				count--;
				continue;
			}
			c = data[offset + count - 1];
			if ((c==' ')||(c=='\r')||(c=='\n')||(c=='\t')) {
				count--;
				continue;
			}
			break;
		}
		pos = offset;
	}