Пропустить навигацию
Take a deeper look at the difference between a Zip and a Gzip stream with José Paumard.
0:00 / 0:59

Take a deeper look at the difference between a Zip and a Gzip stream with José Paumard.

Java

576 тыс. подписчиков

Открыть в X
163 отметки «Нравится»СкачатьОригинальный пост

13 864 просмотра

Take a deeper look at the difference between a Zip and a Gzip stream with José Paumard.

2 комментария

Комментарии из оригинального поста в X (Twitter)

  • Фото профиля Markus

    @bortommolnet

    @JosePaumard Unfortunately there is no point in learning the difference anymore

    1 отметка «Нравится»

  • Фото профиля Андрей Овчаренко

    @kreout

    @JosePaumard With ZipInputStream, read() returning -1 ends the current entry, not the archive. You still need getNextEntry() to move on. A two-entry fixture is a useful test: code written like a GZIP reader can otherwise silently stop after the first file.