this.maxlen = length;
	public synchronized void setLength(int length) {		if (length < 0)			throw new IllegalArgumentException("Invalid length: " + length);		if (offset + length > buffer.length)			throw new IllegalArgumentException("Potential buffer overflow - offset: " + offset + " length: " + length);		this.length = length;	}