mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-22 21:53:43 +00:00
increase buf size for extraction
This commit is contained in:
1 parent
e2e43cd534
commit
b1aafa5aaf
1 file changed
+1
-1
@@ -512,7 +512,7 @@ D8usM7Dxp5yrDrCYZ5AIijc=
|
||||
while (skipped < HEADER_BYTES)
|
||||
skipped += fileInputStream.skip(HEADER_BYTES - skipped);
|
||||
|
||||
byte[] buffer = new byte[1024];
|
||||
byte[] buffer = new byte[16*1024];
|
||||
int bytesRead = 0;
|
||||
|
||||
while ( (bytesRead = fileInputStream.read(buffer)) != -1)
|
||||
|
||||
Reference in new issue
Block a user