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

        if (exception != null)
            throw exception;

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

        if (exception != null)
            throw exception;

        return xzIn == null ? 0 : xzIn.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