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
ConstructorsModifierConstructorDescriptionprivateBDecoderInputStreamArray(byte[] _buffer) privateBDecoderInputStreamArray(byte[] _buffer, int _offset, int _length) BDecoderInputStreamArray(ByteBuffer buffer) -
Method Summary
Methods inherited from class 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:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
read
- Overrides:
readin classInputStream- Throws:
IOException
-
available
- Overrides:
availablein classInputStream- Throws:
IOException
-
markSupported
public boolean markSupported()- Overrides:
markSupportedin classInputStream
-
mark
public void mark(int limit) - Overrides:
markin classInputStream
-
reset
- Overrides:
resetin classInputStream- Throws:
IOException
-