Increase stream copy buffer size to 64K.

This commit is contained in:
Alan Evans
2020-12-09 16:29:08 -04:00
parent a8dd81eace
commit 93e9de3932

View File

@@ -78,7 +78,7 @@ public final class StreamUtil {
}
public static long copy(InputStream in, OutputStream out) throws IOException {
byte[] buffer = new byte[8192];
byte[] buffer = new byte[64 * 1024];
int read;
long total = 0;