public synchronized boolean startsWith(byte[] seq)
	{
		if (seq.length > buffer.length)
			throw new IllegalArgumentException();
		if (seq.length > bsize)
			return false;
		for (int i = 0; i < seq.length; ++i)
		{
			if (seq[i] != buffer[(offset + i) % buffer.length])
				return false;
		}
		return true;
	}