Skip to content

Commit

Permalink
fix minus
Browse files Browse the repository at this point in the history
  • Loading branch information
leaves12138 committed Apr 12, 2024
1 parent 883f391 commit a88bee1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ public int bitSize() {
}

public void toByteArray(byte[] bytes, int offset, int length) {
for (int i = 0; i < length; i++) {
bytes[offset + i] = data[this.offset + i];
if (length >= 0) {
System.arraycopy(data, this.offset, bytes, offset, length);
}
}
}
Expand Down

0 comments on commit a88bee1

Please sign in to comment.