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 value) |
static void |
writeLong(java.io.DataOutput buffer,
long value) |
static void |
writeUnsignedInt(java.io.DataOutput buffer,
long value) |
static void |
writeUnsignedLong(java.io.DataOutput buffer,
long value) |
public static void writeInt(java.io.DataOutput buffer,
int value)
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 value)
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 value)
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 value)
throws java.io.IOException
java.io.IOExceptionpublic static long readUnsignedLong(java.io.DataInput buffer)
throws java.io.IOException
java.io.IOException