private class TemporaryBuffer.BlockInputStream
extends java.io.InputStream
Modifier and Type | Field and Description |
---|---|
private TemporaryBuffer.Block |
block |
private int |
blockIndex |
private int |
blockPos |
private byte[] |
singleByteBuffer |
Constructor and Description |
---|
BlockInputStream() |
Modifier and Type | Method and Description |
---|---|
private boolean |
nextBlock() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
long |
skip(long cnt) |
private byte[] singleByteBuffer
private int blockIndex
private TemporaryBuffer.Block block
private int blockPos
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public long skip(long cnt) throws java.io.IOException
skip
in class java.io.InputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
private boolean nextBlock()