() ,
. . Javadoc , .
ZipInputStream.
This is strange because there. However, it returns zero, which is the best estimate that it can make, how much can be read without blocking.
Why? Because (a) it is a stream, and (ii) it is an archived stream. There is no way to know how much there is without reading all of this; and there’s no way to know how many of them can be read without blocking,
source
share