Skip to content

Commit

Permalink
Revert nbytes
Browse files Browse the repository at this point in the history
  • Loading branch information
tonihele committed Sep 22, 2024
1 parent cd3ae35 commit f749352
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ protected String readString(InputStream f, int length) throws IOException {
byte[] data = new byte[length];
f.read(data, 0, length);

return new String(f.readNBytes(length));
return new String(data);
}

protected String readString(int length, int offset) throws IOException {
Expand Down

0 comments on commit f749352

Please sign in to comment.