Skip to content

Commit 8b2d453

Browse files
Increase the buffer size from 1024 to 4096
1 parent 3c1f600 commit 8b2d453

File tree

1 file changed

+1
-1
lines changed
  • library/src/main/java/com/readystatesoftware/sqliteasset

1 file changed

+1
-1
lines changed

library/src/main/java/com/readystatesoftware/sqliteasset/Utils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static List<String> splitSqlScript(String script, char delim) {
4040
}
4141

4242
public static void writeExtractedFileToDisk(InputStream in, OutputStream outs) throws IOException {
43-
byte[] buffer = new byte[1024];
43+
byte[] buffer = new byte[4096];
4444
int length;
4545
while ((length = in.read(buffer))>0){
4646
outs.write(buffer, 0, length);

0 commit comments

Comments
 (0)