bundles/org.tukani.xz/src/org/tukaani/xz/SeekableXZInputStream.java
public int available() throws IOException {
        if (in == null)
            throw new XZIOException("Stream closed");

        if (exception != null)
            throw exception;

        if (endReached || seekNeeded || blockDecoder == null)
            return 0;

        return blockDecoder.available();
    }
public int available() throws IOException {
        if (in == null)
            throw new XZIOException("Stream closed");

        if (exception != null)
            throw exception;

        if (endReached || seekNeeded || blockDecoder == null)
            return 0;

        return blockDecoder.available();
    }
public int available ( ) throws IOException { if ( in == null ) throw new XZIOException ( "Stream closed" ) ; if ( exception != null ) throw exception ; if ( endReached || seekNeeded || blockDecoder == null ) return 0 ; return blockDecoder . available ( ) ; }
Returns the number of uncompressed bytes that can be read
without blocking. The value is returned with an assumption
that the compressed input data will be valid. If the compressed
data is corrupt, <code>CorruptedInputException</code> may get
thrown before the number of bytes claimed to be available have
been read from this input stream.

@return      the number of uncompressed bytes that can be read
without blocking
Returns the number of uncompressed bytes that can be read without blocking . The value is returned with an assumption that the compressed input data will be valid . If the compressed data is corrupt <code > CorruptedInputException< / code > may get thrown before the number of bytes claimed to be available have been read from this input stream .