Skip to content

Commit

Permalink
Merge pull request jbellis#106 from jkni/fix-smr
Browse files Browse the repository at this point in the history
Fix SimpleMappedReader to respect offset
  • Loading branch information
jkni authored Sep 29, 2023
2 parents a96ceac + 93a21b8 commit dbc2147
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 dbc2147

Please sign in to comment.