public class UnsyncByteArrayInputStream
extends java.io.InputStream
See https://issues.liferay.com/browse/LPS-6648.
Constructor and Description |
---|
UnsyncByteArrayInputStream(byte[] buffer) |
UnsyncByteArrayInputStream(byte[] buffer,
int offset,
int length) |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
mark(int readAheadLimit) |
boolean |
markSupported() |
int |
read() |
int |
read(byte[] bytes) |
int |
read(byte[] bytes,
int offset,
int length) |
void |
reset() |
long |
skip(long skip) |
public UnsyncByteArrayInputStream(byte[] buffer)
public UnsyncByteArrayInputStream(byte[] buffer, int offset, int length)
public int available()
available
in class java.io.InputStream
public void mark(int readAheadLimit)
mark
in class java.io.InputStream
public boolean markSupported()
markSupported
in class java.io.InputStream
public int read()
read
in class java.io.InputStream
public int read(byte[] bytes)
read
in class java.io.InputStream
public int read(byte[] bytes, int offset, int length)
read
in class java.io.InputStream
public void reset()
reset
in class java.io.InputStream
public long skip(long skip)
skip
in class java.io.InputStream