public class UnsafeByteArrayInputStream extends InputStream
| Constructor and Description |
|---|
UnsafeByteArrayInputStream(byte[] buf) |
UnsafeByteArrayInputStream(byte[] buf,
int offset) |
UnsafeByteArrayInputStream(byte[] buf,
int offset,
int length) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
void |
mark(int readAheadLimit) |
boolean |
markSupported() |
int |
position() |
void |
position(int newPosition) |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
reset() |
int |
size() |
long |
skip(long len) |
readpublic UnsafeByteArrayInputStream(byte[] buf)
public UnsafeByteArrayInputStream(byte[] buf,
int offset)
public UnsafeByteArrayInputStream(byte[] buf,
int offset,
int length)
public int read()
read in class InputStreampublic int read(byte[] b,
int off,
int len)
read in class InputStreampublic long skip(long len)
skip in class InputStreampublic int available()
available in class InputStreampublic boolean markSupported()
markSupported in class InputStreampublic void mark(int readAheadLimit)
mark in class InputStreampublic void reset()
reset in class InputStreampublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionpublic int position()
public void position(int newPosition)
public int size()
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.