public class Operations extends Object
Constructor and Description |
---|
Operations() |
Modifier and Type | Method and Description |
---|---|
static void |
checkPBMessageType(RiakMessage msg,
byte expected) |
static short |
getUnsignedByteValue(byte b)
Convert a Java signed byte to unsigned.
|
static long |
getUnsignedIntValue(int i)
Convert a Java signed int to unsigned.
|
public static void checkPBMessageType(RiakMessage msg, byte expected)
public static short getUnsignedByteValue(byte b)
b
- a java signed bytepublic static long getUnsignedIntValue(int i)
i
- a java signed intCopyright © 2016. All rights reserved.