public class VarInts
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static int |
readInt(java.io.DataInput buffer) |
static long |
readLong(java.io.DataInput buffer) |
static int |
readUnsignedInt(java.io.DataInput buffer) |
static long |
readUnsignedLong(java.io.DataInput buffer) |
static void |
writeInt(java.io.DataOutput buffer,
int integer) |
static void |
writeLong(java.io.DataOutput buffer,
long longInteger) |
static void |
writeUnsignedInt(java.io.DataOutput buffer,
long integer) |
static void |
writeUnsignedLong(java.io.DataOutput buffer,
long longInteger) |
public static void writeInt(java.io.DataOutput buffer,
int integer)
throws java.io.IOException
java.io.IOExceptionpublic static int readInt(java.io.DataInput buffer)
throws java.io.IOException
java.io.IOExceptionpublic static void writeUnsignedInt(java.io.DataOutput buffer,
long integer)
throws java.io.IOException
java.io.IOExceptionpublic static int readUnsignedInt(java.io.DataInput buffer)
throws java.io.IOException
java.io.IOExceptionpublic static void writeLong(java.io.DataOutput buffer,
long longInteger)
throws java.io.IOException
java.io.IOExceptionpublic static long readLong(java.io.DataInput buffer)
throws java.io.IOException
java.io.IOExceptionpublic static void writeUnsignedLong(java.io.DataOutput buffer,
long longInteger)
throws java.io.IOException
java.io.IOExceptionpublic static long readUnsignedLong(java.io.DataInput buffer)
throws java.io.IOException
java.io.IOException