public abstract class CompactReader extends Object
| Constructor and Description |
|---|
CompactReader()
|
| Modifier and Type | Method and Description |
|---|---|
static long |
decodeZigZag(long n)
|
abstract int |
read(byte[] buffer, int off, int len)
|
abstract int |
readByte()
|
void |
readFully(byte[] buffer)
|
String |
readString()
|
long |
readVariableLengthSignedInteger()
|
public abstract int readByte()
throws IOException
IOException
public abstract int read(byte[] buffer,
int off,
int len)
throws IOException
IOException
public long readVariableLengthSignedInteger()
throws IOException
IOException
public static long decodeZigZag(long n)
public StringreadString() throws IOException
IOException
public void readFully(byte[] buffer)
throws IOException
IOException