diff --git a/library/src/main/java/com/readystatesoftware/sqliteasset/Utils.java b/library/src/main/java/com/readystatesoftware/sqliteasset/Utils.java index 67cecaf..fb63656 100644 --- a/library/src/main/java/com/readystatesoftware/sqliteasset/Utils.java +++ b/library/src/main/java/com/readystatesoftware/sqliteasset/Utils.java @@ -40,7 +40,7 @@ public static List splitSqlScript(String script, char delim) { } public static void writeExtractedFileToDisk(InputStream in, OutputStream outs) throws IOException { - byte[] buffer = new byte[1024]; + byte[] buffer = new byte[4096]; int length; while ((length = in.read(buffer))>0){ outs.write(buffer, 0, length);