ZipInputStream#readAllBytes should clarify it doesn't read the whole stream?
Alan Bateman
Alan.Bateman at oracle.com
Thu Feb 25 14:25:30 UTC 2021
On 25/02/2021 03:56, Jaikiran Pai wrote:
> :
>
> Should the ZipInputStream override the readAllBytes(), just so as to
> add a very specific javadoc to this method which explains that it
> reads only till the end of current entry and other related semantics?
> Perhaps the same should be done for ZipInputStream#readNBytes(...)?
Make sense to avoid any confusion and also to do the readNBytes methods
at the same time.
-Alan
More information about the core-libs-dev
mailing list