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