public class ByteInputStream extends Object implements ByteIn
BitInputStream
Modifier and Type | Field and Description |
---|---|
protected long |
byteOffset |
protected DataInput |
di |
USUAL_EXTENSION
Modifier | Constructor and Description |
---|---|
protected |
ByteInputStream() |
|
ByteInputStream(DataInput di) |
|
ByteInputStream(DataInput di,
long offset) |
protected DataInput di
protected long byteOffset
protected ByteInputStream()
public ByteInputStream(DataInput di) throws IOException
IOException
public ByteInputStream(DataInput di, long offset) throws IOException
IOException
public final long getByteOffset()
ByteIn
getByteOffset
in interface ByteIn
public void close() throws IOException
close
in interface ByteIn
IOException
public final void skipBytes(long l) throws IOException
skipBytes
in interface ByteIn
IOException
public final int readVInt() throws IOException
readVInt
in interface ByteIn
IOException
public final long readVLong() throws IOException
readVLong
in interface ByteIn
IOException
public final int readFully(byte[] arr, int off, int len) throws IOException
readFully
in interface ByteIn
IOException
public int getVSize(long x) throws IOException
getVSize
in interface ByteIn
IOException
Terrier 4.0. Copyright © 2004-2014 University of Glasgow