getbit and setbit have now long offset

This commit is contained in:
Jonathan Leibiusky
2011-01-20 11:50:38 -03:00
parent a13aff5421
commit 1857dd3413
3 changed files with 6 additions and 6 deletions

View File

@@ -637,11 +637,11 @@ public class BinaryClient extends Connection {
sendCommand(CONFIG, Keyword.RESETSTAT.name());
}
public void setbit(byte[] key, int offset, byte[] value) {
public void setbit(byte[] key, long offset, byte[] value) {
sendCommand(SETBIT, key, toByteArray(offset), value);
}
public void getbit(byte[] key, int offset) {
public void getbit(byte[] key, long offset) {
sendCommand(GETBIT, key, toByteArray(offset));
}
}