Skip to content

Commit

Permalink
Fix SimpleMappedReader to respect offset in read(int[], int, int)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkni committed Sep 29, 2023
1 parent 9b6ce35 commit 93a21b8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public int readInt() {
@Override
public void read(int[] ints, int offset, int count) {
for (int i = 0; i < count; i++) {
ints[i] = mbb.getInt();
ints[offset + i] = mbb.getInt();
}
}

Expand Down

0 comments on commit 93a21b8

Please sign in to comment.