Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
saudet committed May 31, 2022
1 parent 8f03370 commit 71a53e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/bytedeco/javacpp/BytePointer.java
Original file line number Diff line number Diff line change
Expand Up @@ -298,9 +298,9 @@ public BytePointer putString(String s) {
/** Returns the {@code byte} value at the i-th {@code byte} in the native array, treated as unsigned. */
public int getUnsigned(long i) { return get(i) & 0xFF; }
/** Returns {@code putUnsigned(0, b)}. */
public BytePointer putUnsigned(int b) { return putUnsigned(i, b); }
public BytePointer putUnsigned(int b) { return putUnsigned(0, b); }
/** Sets the {@code byte} value at the i-th {@code byte} in the native array, treated as unsigned. */
public BytePointer putUnsigned(long i, int b) { return put(0, (byte)b); }
public BytePointer putUnsigned(long i, int b) { return put(i, (byte)b); }

/** Returns {@code getShort(0)}. */
public short getShort() { return getShort(0); }
Expand Down

0 comments on commit 71a53e6

Please sign in to comment.