Skip to content

Commit

Permalink
Update input steam file size
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriksgata committed May 18, 2022
1 parent 43b6cb5 commit 6dbc6e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/indi/eiriksgata/dice/reply/CustomText.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public static byte[] fileRead(File file) throws IOException {
public static byte[] inputStreamRead(InputStream inputStream) throws IOException {
int readLength;
int countLength = 0;
byte[] bufferContent = new byte[1048576];
byte[] bufferContent = new byte[10485760];
while (true) {
readLength = inputStream.read(bufferContent, countLength, 1024);
if (readLength == -1) {
Expand Down

0 comments on commit 6dbc6e6

Please sign in to comment.