Skip to content

Commit

Permalink
Revert
Browse files Browse the repository at this point in the history
  • Loading branch information
tonihele committed Sep 22, 2024
1 parent 616e0c7 commit cd3ae35
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,9 @@ public InputCapsule getCapsule(Savable id) {
}

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));
}

Expand Down

0 comments on commit cd3ae35

Please sign in to comment.