/// <summary>
        /// Returns the number of bytes that can be read without blocking. </summary>
        /// <returns> the number of immediately available bytes </returns>
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: public int available() throws java.io.IOException
        public override int Available()
        {
            return(Impl.Available());
        }