Implemented CachedInputStream#available().