com.liferay.portal.kernel.io.unsync
Class UnsyncByteArrayInputStream
java.lang.Object
java.io.InputStream
com.liferay.portal.kernel.io.unsync.UnsyncByteArrayInputStream
- All Implemented Interfaces:
- Closeable, AutoCloseable
public class UnsyncByteArrayInputStream
- extends InputStream
See http://issues.liferay.com/browse/LPS-6648.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buffer
protected byte[] buffer
capacity
protected int capacity
index
protected int index
markIndex
protected int markIndex
UnsyncByteArrayInputStream
public UnsyncByteArrayInputStream(byte[] buffer)
UnsyncByteArrayInputStream
public UnsyncByteArrayInputStream(byte[] buffer,
int offset,
int length)
available
public int available()
- Overrides:
available
in class InputStream
mark
public void mark(int readAheadLimit)
- Overrides:
mark
in class InputStream
markSupported
public boolean markSupported()
- Overrides:
markSupported
in class InputStream
read
public int read()
- Specified by:
read
in class InputStream
read
public int read(byte[] bytes)
- Overrides:
read
in class InputStream
read
public int read(byte[] bytes,
int offset,
int length)
- Overrides:
read
in class InputStream
reset
public void reset()
- Overrides:
reset
in class InputStream
skip
public long skip(long skip)
- Overrides:
skip
in class InputStream