Refactor: Reduce hard drive usage for getFileSize()
Use a BufferedInputStream for counting the bytes of a ZipEntry to reduce the number of read operations on the hard drive.
Showing
+2 -1
Please register or sign in to comment
Use a BufferedInputStream for counting the bytes of a ZipEntry to reduce the number of read operations on the hard drive.
Dies ist die Gitlab-Instanz des Transferportals der Hochschule für Technik Stuttgart. Hier geht es zurück zum Portal