kopia lustrzana https://github.com/ryukoposting/Signal-Android
Increase stream copy buffer size to 64K.
rodzic
a8dd81eace
commit
93e9de3932
|
@ -78,7 +78,7 @@ public final class StreamUtil {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static long copy(InputStream in, OutputStream out) throws IOException {
|
public static long copy(InputStream in, OutputStream out) throws IOException {
|
||||||
byte[] buffer = new byte[8192];
|
byte[] buffer = new byte[64 * 1024];
|
||||||
int read;
|
int read;
|
||||||
long total = 0;
|
long total = 0;
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue