Package com.biglybt.core.util
Class BDecoder.BDecoderInputStreamArray
java.lang.Object
java.io.InputStream
com.biglybt.core.util.BDecoder.BDecoderInputStreamArray
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- BDecoder
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
BDecoderInputStreamArray
(byte[] _buffer) private
BDecoderInputStreamArray
(byte[] _buffer, int _offset, int _length) BDecoderInputStreamArray
(ByteBuffer buffer) -
Method Summary
Methods inherited from class java.io.InputStream
close, nullInputStream, readAllBytes, readNBytes, readNBytes, skip, skipNBytes, transferTo
-
Field Details
-
bytes
private final byte[] bytes -
pos
private int pos -
markPos
private int markPos -
overPos
private final int overPos
-
-
Constructor Details
-
BDecoderInputStreamArray
-
BDecoderInputStreamArray
private BDecoderInputStreamArray(byte[] _buffer) -
BDecoderInputStreamArray
private BDecoderInputStreamArray(byte[] _buffer, int _offset, int _length)
-
-
Method Details
-
read
- Specified by:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
read
- Overrides:
read
in classInputStream
- Throws:
IOException
-
available
- Overrides:
available
in classInputStream
- Throws:
IOException
-
markSupported
public boolean markSupported()- Overrides:
markSupported
in classInputStream
-
mark
public void mark(int limit) - Overrides:
mark
in classInputStream
-
reset
- Overrides:
reset
in classInputStream
- Throws:
IOException
-