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