Added hasNext to BitContainerInputStream.