|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.infinispan.io.UnsignedNumeric
public class UnsignedNumeric
Helper to read and write unsigned numerics
Constructor Summary | |
---|---|
UnsignedNumeric()
|
Method Summary | |
---|---|
static int |
readUnsignedInt(byte[] bytes,
int offset)
Reads an int stored in variable-length format. |
static int |
readUnsignedInt(ByteBuffer in)
|
static int |
readUnsignedInt(InputStream in)
|
static int |
readUnsignedInt(ObjectInput in)
Reads an int stored in variable-length format. |
static long |
readUnsignedLong(byte[] bytes,
int offset)
Reads an int stored in variable-length format. |
static long |
readUnsignedLong(ByteBuffer in)
|
static long |
readUnsignedLong(InputStream in)
|
static long |
readUnsignedLong(ObjectInput in)
Reads an int stored in variable-length format. |
static void |
writeUnsignedInt(byte[] bytes,
int offset,
int i)
Writes an int in a variable-length format. |
static void |
writeUnsignedInt(ByteBuffer out,
int i)
|
static void |
writeUnsignedInt(ObjectOutput out,
int i)
Writes an int in a variable-length format. |
static void |
writeUnsignedInt(OutputStream out,
int i)
|
static void |
writeUnsignedLong(byte[] bytes,
int offset,
long i)
Writes an int in a variable-length format. |
static void |
writeUnsignedLong(ByteBuffer out,
long i)
|
static void |
writeUnsignedLong(ObjectOutput out,
long i)
Writes an int in a variable-length format. |
static void |
writeUnsignedLong(OutputStream out,
long i)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UnsignedNumeric()
Method Detail |
---|
public static int readUnsignedInt(ObjectInput in) throws IOException
IOException
public static int readUnsignedInt(InputStream in) throws IOException
IOException
public static int readUnsignedInt(ByteBuffer in) throws IOException
IOException
public static void writeUnsignedInt(ObjectOutput out, int i) throws IOException
i
- int to write
IOException
public static void writeUnsignedInt(OutputStream out, int i) throws IOException
IOException
public static void writeUnsignedInt(ByteBuffer out, int i) throws IOException
IOException
public static long readUnsignedLong(ObjectInput in) throws IOException
IOException
public static long readUnsignedLong(InputStream in) throws IOException
IOException
public static long readUnsignedLong(ByteBuffer in) throws IOException
IOException
public static void writeUnsignedLong(ObjectOutput out, long i) throws IOException
i
- int to write
IOException
public static void writeUnsignedLong(OutputStream out, long i) throws IOException
IOException
public static void writeUnsignedLong(ByteBuffer out, long i) throws IOException
IOException
public static int readUnsignedInt(byte[] bytes, int offset) throws IOException
IOException
public static void writeUnsignedInt(byte[] bytes, int offset, int i) throws IOException
i
- int to write
IOException
public static long readUnsignedLong(byte[] bytes, int offset) throws IOException
IOException
public static void writeUnsignedLong(byte[] bytes, int offset, long i) throws IOException
i
- int to write
IOException
|
Google Analytics | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |