Package org.eclipse.jgit.util
Class TemporaryBuffer.BlockInputStream
java.lang.Object
java.io.InputStream
org.eclipse.jgit.util.TemporaryBuffer.BlockInputStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
TemporaryBuffer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate TemporaryBuffer.Block
private int
private int
private byte[]
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, read, reset
-
Field Details
-
singleByteBuffer
private byte[] singleByteBuffer -
blockIndex
private int blockIndex -
block
-
blockPos
private int blockPos
-
-
Constructor Details
-
BlockInputStream
BlockInputStream()
-
-
Method Details
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
skip
- Overrides:
skip
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
nextBlock
private boolean nextBlock()
-