Package com.biglybt.core.util
Class BDecoder.BDecoderInputStreamArray
- java.lang.Object
-
- java.io.InputStream
-
- com.biglybt.core.util.BDecoder.BDecoderInputStreamArray
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
- Enclosing class:
- BDecoder
private static class BDecoder.BDecoderInputStreamArray extends java.io.InputStream
-
-
Constructor Summary
Constructors Modifier Constructor Description private
BDecoderInputStreamArray(byte[] _buffer)
private
BDecoderInputStreamArray(byte[] _buffer, int _offset, int _length)
BDecoderInputStreamArray(java.nio.ByteBuffer buffer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
available()
void
mark(int limit)
boolean
markSupported()
int
read()
int
read(byte[] buffer)
int
read(byte[] b, int offset, int length)
void
reset()
-
-
-
Method Detail
-
read
public int read() throws java.io.IOException
- Specified by:
read
in classjava.io.InputStream
- Throws:
java.io.IOException
-
read
public int read(byte[] buffer) throws java.io.IOException
- Overrides:
read
in classjava.io.InputStream
- Throws:
java.io.IOException
-
read
public int read(byte[] b, int offset, int length) throws java.io.IOException
- Overrides:
read
in classjava.io.InputStream
- Throws:
java.io.IOException
-
available
public int available() throws java.io.IOException
- Overrides:
available
in classjava.io.InputStream
- Throws:
java.io.IOException
-
markSupported
public boolean markSupported()
- Overrides:
markSupported
in classjava.io.InputStream
-
mark
public void mark(int limit)
- Overrides:
mark
in classjava.io.InputStream
-
reset
public void reset() throws java.io.IOException
- Overrides:
reset
in classjava.io.InputStream
- Throws:
java.io.IOException
-
-